diff options
author | Hans Wennborg <hans@hanshq.net> | 2018-08-06 10:15:52 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2018-08-06 10:15:52 +0000 |
commit | c7a1b92d79e68cd3e22724c537bfdf8b54bfcdd0 (patch) | |
tree | 34f7bf3803df62fb94afe162508af0869e9c0769 /llvm/lib/CodeGen | |
parent | fefd94a85f46281fb153920c8dc63711f298c4a2 (diff) | |
download | bcm5719-llvm-c7a1b92d79e68cd3e22724c537bfdf8b54bfcdd0.tar.gz bcm5719-llvm-c7a1b92d79e68cd3e22724c537bfdf8b54bfcdd0.zip |
Merging r338679, r338684, r338697, r338699:
------------------------------------------------------------------------
r338679 | grimar | 2018-08-02 10:07:07 +0200 (Thu, 02 Aug 2018) | 10 lines
[LLD] - Improve handling of AT> linker script commands
Patch by Konstantin Schwarz!
The condition to create a new phdr must also check the usage of "AT>"
linker script command, and create a new PT_LOAD header if a new LMARegion is used.
This fixes PR38307
Differential revision: https://reviews.llvm.org/D50052
------------------------------------------------------------------------
------------------------------------------------------------------------
r338684 | grimar | 2018-08-02 10:13:56 +0200 (Thu, 02 Aug 2018) | 9 lines
[LLD] Only increase LMARegion if different from MemRegion
Patch by Konstantin Schwarz!
If both the MemRegion and LMARegion are set for an output section in
a linker script, we should only increase the LMARegion if it is
different from the MemRegion. Otherwise, we reserve the memory twice.
Differential revision: https://reviews.llvm.org/D50065
------------------------------------------------------------------------
------------------------------------------------------------------------
r338697 | grimar | 2018-08-02 12:45:46 +0200 (Thu, 02 Aug 2018) | 9 lines
[LLD] Do not overwrite LMAOffset of PT_LOAD header
Patch by Konstantin Schwarz!
If more than a single output section is added to a PT_LOAD header,
only the first section should set the LMAOffset of the segment.
Otherwise, we get a load-address overlap error
Differential revision: https://reviews.llvm.org/D50133
------------------------------------------------------------------------
------------------------------------------------------------------------
r338699 | grimar | 2018-08-02 12:59:28 +0200 (Thu, 02 Aug 2018) | 5 lines
[LLD][ELF] - Simplify. NFC.
isHeaderSection can be useful I believe,
but probably not right now and not
for this case.
------------------------------------------------------------------------
llvm-svn: 339000
Diffstat (limited to 'llvm/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions