| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
I think it is clear by now that the new linker is viable.
llvm-svn: 262158
|
|
|
|
|
|
|
|
|
|
|
|
| |
Most of the other methods to access Reference's were on DefinedAtom so
this just keeps them all together.
This will be used in a future patch in ObjCPass which needs to add
new references. The method is virtual because we may add references to
different data structures depending on whether we parsed a macho file or
yaml.
llvm-svn: 259436
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is to enable isa<> support for any files which need it.
It will be used in an upcoming patch to differentiate MachOFile from other implicitly generated files.
Reviewed by Lang Hames.
Differential Revision: http://reviews.llvm.org/D16103
llvm-svn: 257830
|
|
|
|
| |
llvm-svn: 257801
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary: This is no longer needed now that the new ELF implementation supports AMDGPU.
Reviewers: ruiu, rafael
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D15954
llvm-svn: 257390
|
|
|
|
|
|
|
|
|
|
|
|
| |
In a UI such as XCode, LLVM source files are in 'libraries' while clang
files are in 'clang libraries'.
This change moves the lld source to 'lld libraries' to make code browsing easier.
It should be NFC as the build itself is still the same, just the structure in a
UI differs.
llvm-svn: 257001
|
|
|
|
|
|
| |
Differential revision: http://reviews.llvm.org/D14553
llvm-svn: 252661
|
|
|
|
|
|
| |
Patch from Eugene Zelenko!
llvm-svn: 249111
|
|
|
|
|
|
|
|
|
|
| |
Reviewers: atanasyan, ruiu
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D12447
llvm-svn: 248621
|
|
|
|
|
|
| |
Patch from George Rimar!
llvm-svn: 248525
|
|
|
|
|
|
| |
This matches GNU linker behaviour.
llvm-svn: 247795
|
|
|
|
|
|
| |
Patch from Eugene Zelenko!
llvm-svn: 247323
|
|
|
|
| |
llvm-svn: 246419
|
|
|
|
| |
llvm-svn: 246417
|
|
|
|
|
|
| |
and 64-bit MIPS ABIs
llvm-svn: 246337
|
|
|
|
| |
llvm-svn: 246334
|
|
|
|
|
|
| |
Hopefully, this will resolve the remaining windows bot errors.
llvm-svn: 246181
|
|
|
|
| |
llvm-svn: 246179
|
|
|
|
| |
llvm-svn: 246164
|
|
|
|
|
|
| |
This should fix the one of the failing bots.
llvm-svn: 246160
|
|
|
|
|
|
| |
Broken by r246155.
llvm-svn: 246159
|
|
|
|
|
|
|
|
|
| |
This is a basic implementation that allows lld to emit binaries
consumable by the HSA runtime.
Differential Revision: http://reviews.llvm.org/D11267
llvm-svn: 246155
|
|
|
|
|
|
|
|
| |
Patch by Simon Dardis.
Differential Revision: http://reviews.llvm.org/D12103
llvm-svn: 245491
|
|
|
|
| |
llvm-svn: 244849
|
|
|
|
| |
llvm-svn: 244747
|
|
|
|
|
|
|
|
|
|
| |
Add PT_PHDR segment depending on its availability in linker script's
PHDRS command, fallback if no linker script is given.
Handle FILEHDR, PHDRS and FLAGS attributes of program header.
Differential Revision: http://reviews.llvm.org/D11589
llvm-svn: 244743
|
|
|
|
| |
llvm-svn: 244511
|
|
|
|
| |
llvm-svn: 244451
|
|
|
|
| |
llvm-svn: 244350
|
|
|
|
| |
llvm-svn: 244336
|
|
|
|
|
|
|
|
| |
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D11266
llvm-svn: 244317
|
|
|
|
| |
llvm-svn: 243835
|
|
|
|
|
|
| |
section, and __RLD_MAP symbol
llvm-svn: 243626
|
|
|
|
|
|
| |
executable file
llvm-svn: 243211
|
|
|
|
|
|
|
|
| |
that inline.
No functional changes.
llvm-svn: 243210
|
|
|
|
| |
llvm-svn: 243209
|
|
|
|
| |
llvm-svn: 243208
|
|
|
|
| |
llvm-svn: 243014
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Put sections to segments according to linker scripts if available.
Rework the code of TargetLayout::assignSectionsToSegments so it operates
on the given list of segments, which can be either read from linker scripts
or constructed as before.
Handle NONE segments defined in linker scripts by putting corresponding sections
to PT_NULL segment.
Consider flags set for segments through linker scripts.
Differential Revision: http://reviews.llvm.org/D10918
llvm-svn: 243002
|
|
|
|
|
|
|
| |
The _cidentSections container is filled during files parsing so we need to
serialize a concurrent access to it.
llvm-svn: 242885
|
|
|
|
|
|
| |
It will stop doing so shortly.
llvm-svn: 242832
|
|
|
|
| |
llvm-svn: 242820
|
|
|
|
|
|
| |
This removes the last uses of getStaticSymbolName in lld.
llvm-svn: 242816
|
|
|
|
| |
llvm-svn: 242760
|
|
|
|
| |
llvm-svn: 242759
|
|
|
|
| |
llvm-svn: 242701
|
|
|
|
|
|
|
|
| |
This patch fixes the TLS dynamic variable exportation from .got.plt segments,
created by General-dynamic relocations (TLSDESC). Current code only export
symbols in dynamic table from .got sections.
llvm-svn: 242142
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When using a linker script expression to change the address of a section, even
if the new address is more than a page of distance from the old address, lld
may put everything in the same segment, forcing it to be unnecessarily large.
This patch changes the logic in Segment::assignVirtualAddress() and
Segment::assignFileOffsets() to allow the segment to be sliced into two or more
if it detects a linker script expression that changes a section address.
Differential Revision: http://reviews.llvm.org/D10952
llvm-svn: 242096
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When calculating the start address and size of a segment, lld mistakenly
attributed the start address of the last segment slice to the whole segment
when it should consider the start address of the first slice. In this case, in a
multi-slice segment, Segment::assignVirtualAddress() will return a wrong
segment start address to TargetLayout::assignVirtualAddress(). The effect of
this miscalculation is to allocate some program headers in unnecessarily far
away addresses. This commit fixes this.
Differential Revision: http://reviews.llvm.org/D10951
llvm-svn: 242089
|
|
|
|
| |
llvm-svn: 242014
|