| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
appropriate bits.
This fixes the remaining clang regression test failures when linking clang with
lld on Darwin.
llvm-svn: 255390
|
| |
|
|
|
|
|
|
|
|
| |
The delta64 relocation is represented as the pair ARM64_RELOC_SUBTRACTOR and ARM64_RELOC_UNSIGNED.
Those should always have the same offset, so this adds a check and tests to ensure this is the case.
Also updated the error printing in this case to shows both relocs when erroring on pair.
llvm-svn: 255274
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
table.
The first entry in the MachO symbol table is always the empty string: make sure
we reserve space for it, or we will overflow the symbol table by one byte.
No test case - this manifests as an occasional memory error. In the near future
I hope to set up a bot building and runnnig LLD with sanitizers - that should
catch future instances of this issue.
llvm-svn: 255178
|
| |
|
|
|
|
|
|
|
|
|
| |
The gcc_except_tab was generating these references to point to the typeinfo in the data section.
gcc_except_tab also had the DW_EH_PE_indirect flag set which means that at runtime we are going
to dereference this entry as if it is in the GOT.
Reviewed by Nick Kledzik in http://reviews.llvm.org/D15360.
llvm-svn: 255085
|
| |
|
|
| |
llvm-svn: 253437
|
| |
|
|
|
|
| |
With this the only way to get the old elf linker is "-flavor old-elf".
llvm-svn: 253318
|
| |
|
|
|
|
| |
This is the second step in making ELF2 the default.
llvm-svn: 253270
|
| |
|
|
|
|
| |
This is the first step in making ELF2 the default.
llvm-svn: 253188
|
| |
|
|
|
|
| |
Differential revision: http://reviews.llvm.org/D14553
llvm-svn: 252661
|
| |
|
|
|
|
|
| |
in r252192 that changed the Archive and Child interfaces in libObject. These include
Rafael Espindola’s many suggested updates.
llvm-svn: 252193
|
| |
|
|
|
|
| |
Differential revision: http://reviews.llvm.org/D14310
llvm-svn: 252034
|
| |
|
|
| |
llvm-svn: 251637
|
| |
|
|
|
|
|
|
|
| |
MachODefinedCustomSectionAtom.
The section names for these atoms are initialized from temporaries (e.g.
segName + "/" + sectName), so we can't use StringRef here.
llvm-svn: 251610
|
| |
|
|
|
|
|
| |
This is optimization option that make sense for MIPS targets. We can
safely ignore it now.
llvm-svn: 251519
|
| |
|
|
|
|
|
|
|
| |
GNU linkers accept both variants and at least for MIPS target gcc passes
joined variant of the '-m' option.
Differential Revision: http://reviews.llvm.org/D14133
llvm-svn: 251497
|
| |
|
|
| |
llvm-svn: 251183
|
| |
|
|
| |
llvm-svn: 251095
|
| |
|
|
|
|
| |
ArrayRef. NFC
llvm-svn: 250904
|
| |
|
|
| |
llvm-svn: 250863
|
| |
|
|
| |
llvm-svn: 250861
|
| |
|
|
| |
llvm-svn: 249128
|
| |
|
|
|
|
|
|
| |
The reason for the name is so that we can run
./build/bin/clang -fuse-ld=lld2 test.o -o t
llvm-svn: 249122
|
| |
|
|
|
|
| |
Patch from Eugene Zelenko!
llvm-svn: 249111
|
| |
|
|
| |
llvm-svn: 248736
|
| |
|
|
|
|
|
|
|
| |
This is a basic initial implementation of the -flat_namespace and
-undefined options for LLD-darwin. It ignores several subtlties,
but the result is close enough that we can now link LLVM (but not
clang) on Darwin and pass all regression tests.
llvm-svn: 248732
|
| |
|
|
|
|
|
|
|
|
| |
Reviewers: atanasyan, ruiu
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D12447
llvm-svn: 248621
|
| |
|
|
|
|
| |
Patch from George Rimar!
llvm-svn: 248525
|
| |
|
|
|
|
| |
export trie.
llvm-svn: 248217
|
| |
|
|
|
|
| |
MIPS ABI supports only --hash-style=sysv variant.
llvm-svn: 247796
|
| |
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
elf32btsmipn32/elf32ltsmipn32
llvm-svn: 246336
|
| |
|
|
|
|
|
| |
Now it is possible to have mips-linux-gnu-ld executable and link MIPS 64-bit
little-endian binaries providing -melf64ltsmip command line argument.
llvm-svn: 246335
|
| |
|
|
| |
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
|
| |
|
|
|
|
| |
Submitted by: zan jyu via llvm-dev
llvm-svn: 245792
|
| |
|
|
|
|
|
|
| |
Patch by Simon Dardis.
Differential Revision: http://reviews.llvm.org/D12103
llvm-svn: 245491
|
| |
|
|
| |
llvm-svn: 244856
|
| |
|
|
| |
llvm-svn: 244849
|
| |
|
|
|
|
| |
way of the default ops (copy construction, assignment, etc)
llvm-svn: 244836
|
| |
|
|
| |
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
|