llvm-project/lld/test/ELF/Inputs
Rafael Espindola 3c3ebcc5f4 Fix PR36793.
With this patch lld will iterate over compile units to find the line
tables instead of assuming there is only one at offset 0.

llvm-svn: 328284
2018-03-23 00:35:27 +00:00
..
aarch64-condb-reloc.s [ELF/AARCH64] - Implemented R_AARCH64_CONDBR19 relocation. 2016-01-11 14:22:00 +00:00
aarch64-copy2.s Fix implicit plt creation on aarch64. 2016-06-04 19:11:14 +00:00
aarch64-tls-gdie.s Implement gd to ie relaxation for aarch64. 2016-06-04 23:33:31 +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-hidden.s Don't create relocations for non preemptable absolute symbols. 2016-04-15 12:22:22 +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
amdgpu-kernel-0.s LLD/ELF/AMDGPU: Process AMDGPU-specific e_flags 2017-10-24 19:05:32 +00:00
amdgpu-kernel-1.s LLD/ELF/AMDGPU: Process AMDGPU-specific e_flags 2017-10-24 19:05:32 +00:00
archive.s Remove unnecessary trailing semicolons. 2016-04-27 02:58:27 +00:00
archive2.s
archive3.s
archive4.s
arm-attributes1.s [ELF] Accept first SHT_ARM_ATTRIBUTES section 2016-12-14 10:36:12 +00:00
arm-exidx-cantunwind.s [ELF][ARM] Initial implentation of ARM exceptions support 2016-10-10 09:39:26 +00:00
arm-plt-reloc.s Initial support for ARM in lld. 2016-06-07 09:31:52 +00:00
arm-shared.s [ELF] ifunc implementation using synthetic sections 2016-12-08 12:58:55 +00:00
arm-thumb-blx-targets.s Add initial support for Thumb for ARMv7a 2016-06-16 09:53:46 +00:00
arm-thumb-narrow-branch.o Add initial support for Thumb for ARMv7a 2016-06-16 09:53:46 +00:00
arm-thumb-narrow-branch.s Add initial support for Thumb for ARMv7a 2016-06-16 09:53:46 +00:00
arm-tls-get-addr.s [ARM] ARM TLS shouldn't use relaxations 2016-09-23 13:54:48 +00:00
as-needed-lazy.s Don't mark a shared library as needed because of a lazy symbol. 2018-01-23 16:59:20 +00:00
bad-archive.a [ELF] Attempt to fix Windows buidbot 2016-11-21 13:57:50 +00:00
comdat.s
comment-gc.s Don't GC non-alloc mergeable section pieces 2016-09-29 10:27:10 +00:00
common.s
compress-debug.s [ELF] Compress debug sections after assignAddresses and support custom layout 2018-01-08 10:17:03 +00:00
conflict-debug.s Make the debug info in some tests more realistic. 2018-03-22 17:14:41 +00:00
conflict.s ELF: Include archive names in error messages. 2016-02-02 08:22:41 +00:00
copy-in-shared.s Reject zero-sized symbols when creating copy relocations. 2016-05-24 02:37:40 +00:00
copy-rel-abs.s Skip abs symbols when handling copy reloc aliases. 2017-10-30 17:26:12 +00:00
copy-rel-corrupted.s Reject zero-sized symbols when creating copy relocations. 2016-05-24 02:37:40 +00:00
copy-rel-large.s Use 64 bits for the shared symbol size again. 2017-10-30 17:43:16 +00:00
copy-rel-pie.s Make this test a bit less confusing. 2017-12-06 03:35:40 +00:00
corrupt-version-reference.so [ELF] Don't crash when parsing a file with external version definition references 2017-10-05 23:28:29 +00:00
ctors_dtors_priority1.s Fix tests for .ctors/.dtors. 2017-07-17 20:42:52 +00:00
ctors_dtors_priority2.s Fix tests for .ctors/.dtors. 2017-07-17 20:42:52 +00:00
ctors_dtors_priority3.s Fix tests for .ctors/.dtors. 2017-07-17 20:42:52 +00:00
discard-merge-unnamed.o Treat unnamed symbols as locals. 2015-12-11 19:09:21 +00:00
dso-undef-size.s [ELF] - Do not set st_size field of SHT_UNDEF symbols. 2017-06-28 09:51:33 +00:00
dtrace-r.o Fix -r when the input has a relocation with no symbol. 2017-01-26 14:09:18 +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-list-weak-archive.s Handle lazy symbols is computeIsPreemptible. 2017-09-08 18:41:49 +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
eh-frame-end.s Avoid empty .eh_frame sections. 2017-05-02 15:45:31 +00:00
eh-frame.s Add a test. 2017-09-28 17:15:02 +00:00
ehframe-relocation.s Make this test a bit stronger. 2016-04-06 19:38:26 +00:00
empty-ver.ver Handle empty versions. 2016-06-28 21:48:33 +00:00
exclude-libs.s ELF: Stop collecting a list of symbols in ArchiveFile. 2018-02-16 20:23:54 +00:00
far-arm-abs.s Initial support for ARM in lld. 2016-06-07 09:31:52 +00:00
far-arm-thumb-abs.s Add initial support for Thumb for ARMv7a 2016-06-16 09:53:46 +00:00
gc-sections-shared.s Make a test stricter. 2017-11-23 23:40:33 +00:00
gc-sections-shared2.s Bring back r319008. 2017-11-28 20:17:58 +00:00
gc-sections-weak.s Add an interesting GC testcase. 2016-04-15 15:26:52 +00:00
gdb-index.s Remove 'z' in .zdebug when decompressing a section. 2018-02-12 22:25:45 +00:00
gnu-ifunc-dso.s [ELF] - Fix functionality treating IFunc definitions in DSOs as functions. 2017-07-11 11:40:59 +00:00
gnu-ifunc-gotpcrel.s ELF: Treat IFunc definitions in DSOs as functions. 2016-04-26 16:22:51 +00:00
gotpc-relax-und-dso.s [ELF] - Implemented optimization for R_X86_64_GOTPCREL relocation. 2016-05-25 14:31:37 +00:00
hidden-shared-err.s Add an extra test. NFC. 2018-01-16 18:53:09 +00:00
hidden-shared-err2.s Fix another case we used the wrong visibility. 2018-01-16 19:02:46 +00:00
i386-got32x-baseless.elf [ELF] - Stop producing broken output for R_386_GOT32[X] relocations. 2017-04-08 06:14:14 +00:00
i386-pic-plt.s Error instead of producing broken binary. 2018-03-14 18:08:33 +00:00
i386-reloc-8-error.s Fix checks for R_386_8 and R_386_16. 2017-02-13 21:29:56 +00:00
i386-reloc-8.s Fix checks for R_386_8 and R_386_16. 2017-02-13 21:29:56 +00:00
i386-reloc-16-error.s Fix checks for R_386_8 and R_386_16. 2017-02-13 21:29:56 +00:00
i386-reloc-16.s Fix checks for R_386_8 and R_386_16. 2017-02-13 21:29:56 +00:00
i386-tls-got.s Don't crash trying to write an 0 addend. 2016-12-06 12:19:24 +00:00
icf-absolute.s ELF: Fix ICF crash on absolute symbol relocations. 2017-01-20 04:58:12 +00:00
icf-merge-sec.s ELF: Teach ICF about relocations referring to merge input sections. 2017-06-12 00:05:54 +00:00
icf-merge.s ELF: Teach ICF about relocations referring to merge input sections. 2017-06-12 00:05:54 +00:00
icf-merge2.s ELF: Teach ICF about relocations referring to merge input sections. 2017-06-12 00:05:54 +00:00
icf-merge3.s ELF: Teach ICF about relocations referring to merge input sections. 2017-06-12 00:05:54 +00:00
icf-non-mergeable.s Removed a wrong assertion about non-colorable sections. 2016-12-02 17:23:58 +00:00
icf2.s ELF: Implement ICF. 2016-02-25 18:43:51 +00:00
just-symbols.s Implement --just-symbols. 2018-03-06 21:25:37 +00:00
libsearch-dyn.s Remove unnecessary trailing semicolons. 2016-04-27 02:58:27 +00:00
libsearch-st.s Remove unnecessary trailing semicolons. 2016-04-27 02:58:27 +00:00
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
local-symbol-in-dso.so Fix crash on invalid. 2017-12-14 05:01:49 +00:00
map-file2.s [ELF] Add .eh_frame pieces to map file 2018-03-14 21:18:18 +00:00
map-file3.s Implement -Map. 2017-01-13 21:05:46 +00:00
map-file4.s Implement -Map. 2017-01-13 21:05:46 +00:00
map-file5.s [ELF] - Show .plt symbols in -Map output. 2017-12-06 08:36:21 +00:00
merge.s
mips-align-err.s Fix the alignment check. 2016-03-31 12:09:36 +00:00
mips-concatenated-abiflags.o [ELF][MIPS] Allow .MIPS.abiflags larger than one Elf_Mips_ABIFlags struct 2016-12-21 05:31:57 +00:00
mips-dynamic.s Reject zero-sized symbols when creating copy relocations. 2016-05-24 02:37:40 +00:00
mips-fnpic.s [ELF][MIPS] Do not use a binary input file in the test case. NFC 2016-09-29 12:58:42 +00:00
mips-fpic.s [ELF][MIPS] Do not use a binary input file in the test case. NFC 2016-09-29 12:58:42 +00:00
mips-gp-dips-corrupt-ver.s [ELF][MIPS] Ignore incorrect version definition index for _gp_disp symbol 2018-02-07 10:02:49 +00:00
mips-gp-dips-corrupt-ver.so [ELF][MIPS] Ignore incorrect version definition index for _gp_disp symbol 2018-02-07 10:02:49 +00:00
mips-gp-disp.so Regenerate test file. 2016-04-04 16:02:39 +00:00
mips-gp0-non-zero.o [ELF][MIPS] Set GP0 value to zero in case of relocatable object generation 2016-09-29 12:58:48 +00:00
mips-micro.s [MIPS] Initial support of microMIPS code linking 2017-09-12 13:08:24 +00:00
mips-n32-rels.o [ELF][MIPS] N32 ABI support 2016-11-05 22:58:01 +00:00
mips-nonalloc.s [ELF] Take into account offset in the output section when read addends for a non-alloc input section 2016-05-21 19:48:54 +00:00
mips-options.o [ELF][MIPS] Handle section symbol points to the .MIPS.options / .reginfo section 2016-05-26 20:46:01 +00:00
mips-pic.s [ELF] Implement infrastructure for thunk code creation 2016-03-31 21:26:23 +00:00
mips-tls.s [ELF][MIPS] Support MIPS TLS relocations 2016-06-23 15:26:31 +00:00
multiple-cu.s Fix PR36793. 2018-03-23 00:35:27 +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
print-icf.s [ELF] Add --print-icf-sections flag 2018-02-01 16:00:46 +00:00
progname-ver.s Replace a binary .so with a text .s. 2017-04-24 23:51:18 +00:00
protected-data-access.s Rename --icf-data and add a corresponding flag for functions. 2018-01-10 01:37:36 +00:00
protected-function-access.s Rename --icf-data and add a corresponding flag for functions. 2018-01-10 01:37:36 +00:00
protected-shared.s Don't create dynamic relocations to ro segments. 2016-04-30 01:15:17 +00:00
relocatable-comdat-multiple.s [ELF] - Allow multiple comdats when producing relocatable output. 2017-06-06 06:38:32 +00:00
relocatable-ehframe.s Run dos2unix. NFC. 2016-03-11 14:34:44 +00:00
relocatable-non-alloc.s [ELF] Ignore R_*_NONE relocs when relocating non-alloc sections 2017-02-23 06:22:28 +00:00
relocatable-tls.s [ELF] - Do not create reserved symbols in case of relocatable output. 2016-11-15 08:19:02 +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-common.s [ELF] - Recommit "[ELF] - Make Bss and BssRelRo sections to be synthetic (#3)." 2017-03-17 10:14:53 +00:00
relocation-copy-align.s Fix alignment computation for copy relocs. 2015-12-10 22:53:24 +00:00
relocation-copy-arm.s Initial support for ARM in lld. 2016-06-07 09:31:52 +00:00
relocation-copy-relro.s ELF: Reserve space for copy relocations of read-only symbols in relro. 2017-01-10 01:21:50 +00:00
relocation-copy.s [ELF/AArch64] Support R_AARCH64_COPY relocation. 2015-12-03 08:05:35 +00:00
relocation-relative-absolute.s [ELF] - Better diagnostic for relative relocation to an absolute value error. 2016-11-15 08:07:14 +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-end.s Also define 'end' if it is present in a .so. 2017-01-19 19:51:02 +00:00
resolution-shared.s Prefer symbols from .o over .so. 2016-01-18 23:54:05 +00:00
resolution.s
rodynamic.s [lld][ELF]Add option to make .dynamic read only 2017-05-26 19:12:38 +00:00
shared-ppc64.s
shared.s Create implicit plt entries for R_X86_64_32S. 2016-02-24 16:37:47 +00:00
shared2-x86-64.s [ELF] ifunc implementation using synthetic sections 2016-12-08 12:58:55 +00:00
shared2.s
shared3.s [ELF] Make tests with undefined symbols more explicit. 2017-11-24 06:42:32 +00:00
shf-info-link.test Ignone SHF_INFO_LINK. 2016-12-03 15:26:18 +00:00
shlib-undefined-ref.s [ELF] Only scan executables for shlib undefined symbols 2017-12-30 08:00:44 +00:00
sht-group-gold-r.elf Allow the GNU gold-style nonstandard SHT_GROUP section. 2017-06-12 18:46:33 +00:00
sht-group-gold-r.s Allow the GNU gold-style nonstandard SHT_GROUP section. 2017-06-12 18:46:33 +00:00
start-lib-comdat.s Don't include --start-lib/--end-lib files twice. 2016-06-14 21:56:36 +00:00
start-lib1.s Fix a crash bug in --start-lib. 2016-04-08 20:49:31 +00:00
start-lib2.s Fix a crash bug in --start-lib. 2016-04-08 20:49:31 +00:00
startstop-shared2.s ELF: Override DSO definitions when creating __start_* and __stop_* symbols. 2016-10-13 22:20:18 +00:00
symbol-ordering-file-warnings1.s [ELF] Add warnings for various symbols that cannot be ordered 2018-02-14 13:36:22 +00:00
symbol-ordering-file-warnings2.s [ELF] Add warnings for various symbols that cannot be ordered 2018-02-14 13:36:22 +00:00
symbol-override.s Remove trailing whitespaces. 2016-07-25 16:51:52 +00:00
symver-archive1.s Bring back r307364. 2017-07-19 16:45:05 +00:00
symver-archive2.s Bring back r307364. 2017-07-19 16:45:05 +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
trace-ar1.s [ELF] - Change -t implementation to print which archive members are used. 2016-04-13 18:07:57 +00:00
trace-ar2.s [ELF] - Change -t implementation to print which archive members are used. 2016-04-13 18:07:57 +00:00
trace-symbols-foo-strong.s Implement --trace-symbol=symbol option. 2016-06-23 07:00:17 +00:00
trace-symbols-foo-weak.s Implement --trace-symbol=symbol option. 2016-06-23 07:00:17 +00:00
uabs_label.s [ELF/AArch64] Implement some UABS relocs 2016-09-12 10:02:41 +00:00
undef-bad-debug.s [ELF] Prevent crash when reporting errors if debug line cannot be parsed 2018-03-07 15:22:58 +00:00
undef-debug.s Make the debug info in some tests more realistic. 2018-03-22 17:14:41 +00:00
undef-shared2.s Fix another case we were using the wrong visibility. 2018-01-16 18:21:23 +00:00
undef-with-plt-addr.s Don't create dynamic relocations to ro segments. 2016-04-30 01:15:17 +00:00
undef.s Print member name in undefined symbol error. 2016-05-09 21:40:06 +00:00
undefined-error.s [ELF] Try to not emit weird diagnostics on undefined symbols. 2017-10-11 18:37:24 +00:00
unknown-reloc.s [ELF] - Explicitly list supported relocations for x86 target. 2017-01-11 08:29:52 +00:00
unresolved-symbols.s [ELF] - Added support for --unresolved-symbols option. 2016-06-29 12:35:04 +00:00
use-bar.s [ELF] Don't fail if undefined symbol is not used 2016-10-06 09:45:04 +00:00
verdef-defaultver.s Don't depend on these symbols being implicitly global. 2017-07-19 18:24:38 +00:00
verdef.s [ELF] - Recommit r273143("[ELF] - Basic versioned symbols support implemented.") 2016-06-20 11:55:12 +00:00
verneed1.s [ELF] - Get rid of precompiled input objects from testcases. 2017-10-04 09:46:53 +00:00
verneed2.s [ELF] - Get rid of precompiled input objects from testcases. 2017-10-04 09:46:53 +00:00
version-script-err.script Don't go on an infinite loop on a missing ";". 2016-06-20 14:02:22 +00:00
version-script-no-warn2.s Bring back InVersionScript. 2017-07-12 17:49:17 +00:00
version-script-weak.s [ELF] - Fix handling of weak symbols from static library when using version script. 2017-07-12 11:09:46 +00:00
version-undef-sym.so Be sure to always increment the Versym pointer. 2016-04-29 17:46:07 +00:00
version-use.script Ignore the "globally available" version. 2016-06-06 22:42:57 +00:00
version-use.so Ignore the "globally available" version. 2016-06-06 22:42:57 +00:00
visibility.s Don't depend on lld creating relocations in ro segments. 2016-04-30 00:49:10 +00:00
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
weak-and-strong-undef.s Handle mixed strong and weak undefined symbols. 2017-05-03 18:40:27 +00:00
weak-undef-lazy.s Handle lazy symbols is Symbol::includeInDynsym. 2017-09-13 00:47:06 +00:00
whole-archive.s Remove unnecessary trailing semicolons. 2016-04-27 02:58:27 +00:00
wrap-dynamic-undef.s Fix PR33635. 2017-07-05 00:43:18 +00:00
wrap-no-real.s Refine our --wrap implementation. 2017-10-06 20:09:34 +00:00
wrap-no-real2.s Correctly handle shared and lazy symbols. 2017-10-13 00:06:38 +00:00
wrap.s Copy the visibility in copyFrom. 2017-11-28 23:06:09 +00:00
writable-sec-plt-reloc.s Allow relocations in rw sections to create plt entries. 2017-12-24 19:02:10 +00:00
x86-64-relax-offset.s Don't confuse input and output section offsets. 2016-06-17 15:42:36 +00:00
x86-64-reloc-8-error.s ELF: Add support for relocation type R_X86_64_8. 2017-01-18 02:20:53 +00:00
x86-64-reloc-8.s ELF: Add support for relocation type R_X86_64_8. 2017-01-18 02:20:53 +00:00
x86-64-reloc-16-error.s Implement R_X86_64_16. 2017-02-13 16:21:34 +00:00
x86-64-reloc-16.s Implement R_X86_64_16. 2017-02-13 16:21:34 +00:00
x86-64-reloc-error.s Use defined hidden symbols for out of range tests. 2016-03-08 19:51:58 +00:00
x86-64-tls-gd-got.s Add a test for accessing __tls_get_addr with a GOT. 2016-07-04 17:34:53 +00:00
znotext-copy-relocations.s Allow copy relocation with -z notext. 2017-12-28 00:23:49 +00:00
znotext-plt-relocations-protected.s Don't try to preempt protected symbols with -z notext. 2017-12-27 20:53:13 +00:00
znotext-plt-relocations.s [ELF] - Allow using PLT relocations when "-z notext" is given. 2017-12-23 09:00:37 +00:00
ztext.s Rename a test file and fix indentation. 2018-03-01 23:01:41 +00:00