llvm-project/lld/test/ELF/Inputs
Peter Collingbourne 4cdade6a2f ELF: Create dynamic symbols for symbol aliases of copy relocations.
For each copy relocation that we create, look through the DSO's symbol table
for aliases and create a dynamic symbol for each one. This causes the copy
relocation to correctly interpose any aliases.

Copy relocations are relatively uncommon (on my machine, 56% of binaries in
/usr/bin have no copy relocations probably due to being PIEs, 97% of them
have <10, and the binary with the largest number of them has 97) so it's
probably fine to do this in a relatively inefficient way.

Differential Revision: http://reviews.llvm.org/D18731

llvm-svn: 265354
2016-04-04 22:29:24 +00:00
..
aarch64-condb-reloc.s [ELF/AARCH64] - Implemented R_AARCH64_CONDBR19 relocation. 2016-01-11 14:22:00 +00:00
aarch64-tls-ie.s Reapply r257588 2016-01-13 13:04:46 +00:00
aarch64-tstbr14-reloc.s [ELF/AARCH64] - Implemented R_AARCH64_TSTBR14 relocation. 2016-01-11 14:27:05 +00:00
abs.s
abs255.s
abs256.s
abs257.s
allow-multiple-definition.s
allow-shlib-undefined.s [ELF] - Error out when R_X86_64_PC32/R_X86_64_32 are used against preemptible symbol when linking shared object. 2016-03-29 08:35:42 +00:00
archive.s
archive2.s
archive3.s
archive4.s
comdat.s
common.s
conflict.s ELF: Include archive names in error messages. 2016-02-02 08:22:41 +00:00
copy-in-shared.s Don't create copy relocs in shared libraries. 2016-02-22 21:23:29 +00:00
ctors_dtors_priority1.s ELF: Implement the correct semantics of .[cd]tors. 2016-02-11 23:41:38 +00:00
ctors_dtors_priority2.s ELF: Implement the correct semantics of .[cd]tors. 2016-02-11 23:41:38 +00:00
ctors_dtors_priority3.s ELF: Implement the correct semantics of .[cd]tors. 2016-02-11 23:41:38 +00:00
discard-merge-unnamed.o Treat unnamed symbols as locals. 2015-12-11 19:09:21 +00:00
duplicated-plt-entry.s Don't create multiple .got.plt entries for the same symbol. 2016-02-16 16:46:31 +00:00
dynamic-reloc-weak.s Fix some confusion about what can be preempted. 2016-02-26 14:27:47 +00:00
dynamic-reloc.s
icf2.s ELF: Implement ICF. 2016-02-25 18:43:51 +00:00
invalid-binding.elf
invalid-cie-version2.elf Reapply r257753 with fix: 2016-01-15 13:34:52 +00:00
invalid-data-encoding.a
invalid-file-class.a
invalid-multiple-eh-relocs.elf
invalid-section-index.elf
invalid-shentsize-zero.elf Revert "[ELF] SHF_MERGE section with 0 entsize is not fatal" 2016-03-21 14:57:20 +00:00
invalid-shstrndx.so
invalid-symtab-sh_info.elf
libsearch-dyn.s
libsearch-st.s
llvm33-rela-outside-group.o [ELF] - Error out when R_X86_64_PC32/R_X86_64_32 are used against preemptible symbol when linking shared object. 2016-03-29 08:35:42 +00:00
merge.s
mips-align-err.s Fix the alignment check. 2016-03-31 12:09:36 +00:00
mips-dynamic.s [ELF][MIPS] Add lazy relocation support for MIPS 2016-02-10 19:57:19 +00:00
mips-gp-disp.so Regenerate test file. 2016-04-04 16:02:39 +00:00
mips-pic.s [ELF] Implement infrastructure for thunk code creation 2016-03-31 21:26:23 +00:00
mips-sto-pic.o [ELF][MIPS] Extend test case to check LA25 stubs creation for STO_MIPS_PIC symbols. NFC. 2016-04-04 16:47:31 +00:00
no-symtab.o
plt-aarch64.s Fix some confusion about what can be preempted. 2016-02-26 14:27:47 +00:00
ppc64-addr16-error.s Use defined hidden symbols for out of range tests. 2016-03-08 19:51:58 +00:00
relocatable-ehframe.s Run dos2unix. NFC. 2016-03-11 14:34:44 +00:00
relocatable.s [ELF2] - Basic implementation of -r/--relocatable 2016-02-25 08:23:37 +00:00
relocatable2.s [ELF2] - Basic implementation of -r/--relocatable 2016-02-25 08:23:37 +00:00
relocation-copy-alias.s ELF: Create dynamic symbols for symbol aliases of copy relocations. 2016-04-04 22:29:24 +00:00
relocation-copy-align.s Fix alignment computation for copy relocs. 2015-12-10 22:53:24 +00:00
relocation-copy.s [ELF/AArch64] Support R_AARCH64_COPY relocation. 2015-12-03 08:05:35 +00:00
relocation-size-shared.s [ELF] - R_X86_64_SIZE64/R_X86_64_SIZE32 relocations implemented. 2015-12-11 08:59:37 +00:00
resolution-shared.s Prefer symbols from .o over .so. 2016-01-18 23:54:05 +00:00
resolution.s
shared-ppc64.s
shared.s Create implicit plt entries for R_X86_64_32S. 2016-02-24 16:37:47 +00:00
shared2.s
shared3.s
symbol-override.s [ELF] - Symbols from object files that override symbols in DSO are added to .dynsym table. 2016-01-25 08:44:38 +00:00
tls-got-entry.s Avoid creating duplicated relocations. 2016-04-01 12:54:27 +00:00
tls-got.s
tls-in-archive.s Handle a weak undefined tls to archive member. 2016-02-22 23:19:29 +00:00
tls-mismatch.s
tls-opt-gdie.s [ELF] - Implemented @tlsgd optimization (GD->IE case, x64). 2015-12-04 11:20:13 +00:00
tls-opt-gdiele-i686.s [ELF] - Implement the TLS relocation optimization for 32-bit x86. 2015-12-09 09:55:54 +00:00
tls-opt-iele-i686-nopic.s [ELF] - implemented @indntpoff (x86) relocation and its optimization. 2015-12-17 09:32:21 +00:00
undef-with-plt-addr.s Move target independent code out of x86_64 only path. 2016-02-24 18:24:23 +00:00
visibility.s
warn-common.s [ELF] implement --warn-common/--no-warn-common 2016-03-14 09:19:30 +00:00
warn-common2.s [ELF] implement --warn-common/--no-warn-common 2016-03-14 09:19:30 +00:00
whole-archive.s
wrap.s ELF: Implement --wrap. 2016-01-07 17:20:07 +00:00
x86-64-reloc-error.s Use defined hidden symbols for out of range tests. 2016-03-08 19:51:58 +00:00