llvm-project/lld/test/elf2
Michael J. Spencer dc9c5df5cd [elf2] Add support for local TLS symbols.
llvm-svn: 252686
2015-11-11 01:28:23 +00:00
..
Inputs [ELF2] - Fixed crash for case when section sh_entsize is set to zero for SHF_MERGE type of sections. 2015-11-09 08:40:44 +00:00
aarch64-abs16-error.s Re-apply r249630: ELF2: Use `-flavor gnu2` after `not` to fix Windows buildbot. 2015-10-08 20:57:29 +00:00
aarch64-abs32-error.s Re-apply r249630: ELF2: Use `-flavor gnu2` after `not` to fix Windows buildbot. 2015-10-08 20:57:29 +00:00
aarch64-data-relocs.s [ELF2/AArch64] Implement R_AARCH64_PREL16 and R_AARCH64_PREL32 relocations. 2015-10-29 19:55:59 +00:00
aarch64-hi21-error.s [ELF/AArch64] Add tests to verify we handle overflow correctly for relocs. 2015-10-07 23:15:22 +00:00
aarch64-lo21-error.s [ELF/AArch64] Add tests to verify we handle overflow correctly for relocs. 2015-10-07 23:15:22 +00:00
aarch64-prel16-error.s [ELF2/AArch64] Add relocation tests to ensure we handle overflow correctly. 2015-10-29 20:02:27 +00:00
aarch64-prel32-error.s [ELF2/AArch64] Add relocation tests to ensure we handle overflow correctly. 2015-10-29 20:02:27 +00:00
aarch64-relocs.s [ELF2/AArch64] Support R_AARCH64_LDST64_ABS_LO12_NC relocation. 2015-11-08 04:45:26 +00:00
allow-multiple-definition.s Re-apply r249630: ELF2: Use `-flavor gnu2` after `not` to fix Windows buildbot. 2015-10-08 20:57:29 +00:00
allow-shlib-undefined.s Re-apply r249630: ELF2: Use `-flavor gnu2` after `not` to fix Windows buildbot. 2015-10-08 20:57:29 +00:00
archive.s ELF2: Use ld.lld2 instead of lld -flavor gnu2. 2015-10-07 17:31:39 +00:00
as-needed.s ELF2: Verify that weak undefined symbols won't add DT_NEEDED. 2015-10-12 16:25:33 +00:00
basic-aarch64.s Create .bss only when needed. 2015-11-03 21:35:14 +00:00
basic-freebsd.s ELF2: Use ld.lld2 instead of lld -flavor gnu2. 2015-10-07 17:31:39 +00:00
basic-mips.s [ELF2] Add GOT section for MIPS target. 2015-11-06 07:43:03 +00:00
basic.s Create .bss only when needed. 2015-11-03 21:35:14 +00:00
basic32.s Create .bss only when needed. 2015-11-03 21:35:14 +00:00
basic64be.s Create .bss only when needed. 2015-11-03 21:35:14 +00:00
bss.s Avoid checking for irrelevant facts. 2015-11-03 19:56:47 +00:00
comdat.s Fix comment. 2015-10-19 19:24:03 +00:00
common.s ELF2: Use ld.lld2 instead of lld -flavor gnu2. 2015-10-07 17:31:39 +00:00
default-output.s ELF2: Use ld.lld2 instead of lld -flavor gnu2. 2015-10-07 17:31:39 +00:00
discard-locals.s Handle 0 sized sections like any other section. 2015-11-03 22:08:08 +00:00
discard-none.s Handle 0 sized sections like any other section. 2015-11-03 22:08:08 +00:00
dt_flags.s [ELF2] Add support for -z origin. 2015-10-21 17:09:47 +00:00
dynamic-reloc-index.s Reapply r251536 2015-10-28 18:33:08 +00:00
dynamic-reloc-weak.s [ELF2] - Lazy relocation support for x86_64. 2015-10-20 08:54:27 +00:00
dynamic-reloc.s Reapply r251536 2015-10-28 18:33:08 +00:00
empty-archive.s Test that we handle empty archives. 2015-10-08 18:10:53 +00:00
emulation.s Handle 0 sized sections like any other section. 2015-11-03 22:08:08 +00:00
entry.s ELF2: Support --entry=<addr>. 2015-10-14 22:20:57 +00:00
gc-sections-eh.s Start treating .eh_frame specially. 2015-11-09 17:44:10 +00:00
gc-sections.s .eh_frame is not normally writable. Update the test to reflect that. 2015-11-06 15:25:54 +00:00
global_offset_table.s ELF2: Use ld.lld2 instead of lld -flavor gnu2. 2015-10-07 17:31:39 +00:00
gnu-hash-table.s Handle 0 sized sections like any other section. 2015-11-03 22:08:08 +00:00
gnu-unique.s ELF2: Use ld.lld2 instead of lld -flavor gnu2. 2015-10-07 17:31:39 +00:00
got.s ELF2: Fix typos in comment. 2015-10-13 16:15:50 +00:00
incompatible-ar-first.s Handle a crash in conflict detection with archive members. 2015-10-11 20:19:20 +00:00
incompatible.s ELF2: Remove dead code. 2015-10-13 16:03:39 +00:00
init-fini.s ELF2: Use ld.lld2 instead of lld -flavor gnu2. 2015-10-07 17:31:39 +00:00
invalid-elf.test [ELF2] - Fixed crash for case when section sh_entsize is set to zero for SHF_MERGE type of sections. 2015-11-09 08:40:44 +00:00
invalid-relocations.test Re-apply r249630: ELF2: Use `-flavor gnu2` after `not` to fix Windows buildbot. 2015-10-08 20:57:29 +00:00
libsearch.s [ELF2/Driver] Accept both -L <arg> and -L<arg>. 2015-10-27 15:10:53 +00:00
linkerscript-ouputformat.s [ELF2/LinkerScript] Fix OUTPUT_FORMAT directive parsing 2015-10-12 21:08:41 +00:00
linkerscript-outputarch.s [ELF2/LinkerScript] Implement parsing of OUTPUT_ARCH() command. 2015-10-12 21:50:08 +00:00
linkerscript.s [ELF2] - Linker script EXTERN command implemented. 2015-10-19 17:35:12 +00:00
linkerscript2.s ELF2: Do not put temporary files to the test toplevel directory. 2015-10-12 15:58:38 +00:00
lit.local.cfg Rename asm tests to .s. NFC. 2015-08-05 12:14:51 +00:00
local-dynamic.s Handle 0 sized sections like any other section. 2015-11-03 22:08:08 +00:00
local-got-shared.s ELF2: Write .interp section on the first page in the exectuable. 2015-10-10 23:25:39 +00:00
local-got.s ELF2: Write .interp section on the first page in the exectuable. 2015-10-10 23:25:39 +00:00
local.s Handle 0 sized sections like any other section. 2015-11-03 22:08:08 +00:00
many-sections.s Update for llvm change. 2015-11-03 20:02:28 +00:00
merge-invalid-size.s Add support for merging the contents of SHF_MERGE sections. 2015-10-19 21:00:02 +00:00
merge-shared.s Create .bss only when needed. 2015-11-03 21:35:14 +00:00
merge-string-align.s Handle 0 sized sections like any other section. 2015-11-03 22:08:08 +00:00
merge-string-error.s Add support for merging string from SHF_STRINGS sections. 2015-10-24 22:51:01 +00:00
merge-string-no-null.s Add support for merging string from SHF_STRINGS sections. 2015-10-24 22:51:01 +00:00
merge-string.s Handle 0 sized sections like any other section. 2015-11-03 22:08:08 +00:00
merge-sym.s Handle 0 sized sections like any other section. 2015-11-03 22:08:08 +00:00
merge.s Add support for merging the contents of SHF_MERGE sections. 2015-10-19 21:00:02 +00:00
mips-got-relocs.s [ELF2] Add GOT section for MIPS target. 2015-11-06 07:43:03 +00:00
mips-relocs.s [ELF2][mips] Support both big and little endian MIPS 32-bit targets 2015-10-14 14:24:46 +00:00
new-dtags.test Remove trailing whitespaces. 2015-10-13 16:13:18 +00:00
no-inhibit-exec.s Re-apply r249630: ELF2: Use `-flavor gnu2` after `not` to fix Windows buildbot. 2015-10-08 20:57:29 +00:00
no-obj.s ELF2: Make SymbolTable a template class. 2015-10-09 21:07:25 +00:00
no-symtab.s ELF2: Use ld.lld2 instead of lld -flavor gnu2. 2015-10-07 17:31:39 +00:00
no-undefined.s Re-apply r249630: ELF2: Use `-flavor gnu2` after `not` to fix Windows buildbot. 2015-10-08 20:57:29 +00:00
output-section.s ELF2: Use ld.lld2 instead of lld -flavor gnu2. 2015-10-07 17:31:39 +00:00
plt-i686.s Revert r250169: "This patch implements basic variant of lazy loading for x86_x64 and for X86 targets." 2015-10-13 16:59:30 +00:00
plt.s [ELF2] - Lazy relocation support for x86_64. 2015-10-20 08:54:27 +00:00
ppc64-addr16-error.s [ELF2/PPC64] Error on R_PPC64_ADDR16 overflow 2015-10-15 16:17:30 +00:00
ppc64-rel-calls.s [ELF2] Set a target-specific VAStart for PPC64 2015-10-15 07:49:07 +00:00
ppc64-relocs.s [ELF2] Set a target-specific VAStart for PPC64 2015-10-15 07:49:07 +00:00
ppc64-shared-rel-toc.s [ELF2] .shstrtab section implemented 2015-10-20 17:21:35 +00:00
ppc64-toc-restore.s [ELF2] Set a target-specific VAStart for PPC64 2015-10-15 07:49:07 +00:00
ppc64-weak-undef-call-shared.s [ELF2/PPC64] Don't create .plt entries for weak undef symbols 2015-10-17 00:48:20 +00:00
ppc64-weak-undef-call.s [ELF2/PPC64] Don't create .plt entries for weak undef symbols 2015-10-17 00:48:20 +00:00
pre_init_fini_array.s Delay the relocation scan. 2015-10-19 15:21:42 +00:00
pre_init_fini_array_missing.s ELF2: Use ld.lld2 instead of lld -flavor gnu2. 2015-10-07 17:31:39 +00:00
progname.s ELF2: Fix BSD's __progname symbol issue. 2015-10-13 16:34:14 +00:00
program-header-layout.s Handle 0 sized sections like any other section. 2015-11-03 22:08:08 +00:00
relative-dynamic-reloc-ppc64.s test/elf2/relative-dynamic-reloc-ppc64.s requires ppc 2015-10-12 21:11:53 +00:00
relative-dynamic-reloc.s Mark R_X86_64_PLT32 as relative. 2015-10-19 05:20:01 +00:00
relocation-absolute.s ELF2: Use ld.lld2 instead of lld -flavor gnu2. 2015-10-07 17:31:39 +00:00
relocation-common.s ELF2: Use ld.lld2 instead of lld -flavor gnu2. 2015-10-07 17:31:39 +00:00
relocation-copy.s Two small fixes to copy relocation processing. 2015-11-03 14:13:40 +00:00
relocation-i686.s Revert r250169: "This patch implements basic variant of lazy loading for x86_x64 and for X86 targets." 2015-10-13 16:59:30 +00:00
relocation-in-merge.s Add support for merging the contents of SHF_MERGE sections. 2015-10-19 21:00:02 +00:00
relocation-local.s ELF2: Write .interp section on the first page in the exectuable. 2015-10-10 23:25:39 +00:00
relocation-past-merge-end.s Add support for merging the contents of SHF_MERGE sections. 2015-10-19 21:00:02 +00:00
relocation-undefined-weak.s ELF2: Use ld.lld2 instead of lld -flavor gnu2. 2015-10-07 17:31:39 +00:00
relocation.s [ELF2] - Lazy relocation support for x86_64. 2015-10-20 08:54:27 +00:00
resolution.s ELF2: Use ld.lld2 instead of lld -flavor gnu2. 2015-10-07 17:31:39 +00:00
section-align-0.test ELF2: Use ld.lld2 instead of lld -flavor gnu2. 2015-10-07 17:31:39 +00:00
section-layout.s [elf2] Sort allocated TLS sections at the start of the R/W PT_LOAD. 2015-10-16 23:11:07 +00:00
section-name.s ELF2: Merge .{text,rodata,data,bss}.* sections. 2015-10-14 19:21:25 +00:00
section-symbol.s Don't copy STT_SECTION from the inputs. 2015-10-05 16:25:43 +00:00
shared-be.s ELF2: Use ld.lld2 instead of lld -flavor gnu2. 2015-10-07 17:31:39 +00:00
shared.s [ELF2] .shstrtab section implemented 2015-10-20 17:21:35 +00:00
soname.s ELF2: Use ld.lld2 instead of lld -flavor gnu2. 2015-10-07 17:31:39 +00:00
soname2.s ELF2: Use ld.lld2 instead of lld -flavor gnu2. 2015-10-07 17:31:39 +00:00
startstop-shared.s Add an interesting case where we were already producing the correct result. 2015-10-16 19:57:42 +00:00
startstop.s Delay the relocation scan. 2015-10-19 15:21:42 +00:00
string-table.s Handle 0 sized sections like any other section. 2015-11-03 22:08:08 +00:00
strip-all.s Avoid checking for irrelevant facts. 2015-11-03 19:56:47 +00:00
symbols.s ELF2: Write .interp section on the first page in the exectuable. 2015-10-10 23:25:39 +00:00
sysroot.s Re-apply r249630: ELF2: Use `-flavor gnu2` after `not` to fix Windows buildbot. 2015-10-08 20:57:29 +00:00
tls-align.s Round up the memsize of PT_TLS. 2015-11-06 22:14:44 +00:00
tls-dynamic.s [elf2] Add support for local TLS symbols. 2015-11-11 01:28:23 +00:00
tls-error.s Check the range of R_X86_64_TPOFF32. 2015-11-05 15:22:26 +00:00
tls-mismatch.s [ELF2] Check for TLS mismatch in symbol resolution. 2015-10-09 09:58:39 +00:00
tls-static.s [elf2] Tighten up test. 2015-10-12 23:44:22 +00:00
tls.s [elf2] Fix R_X86_64_TPOFF32 handling. 2015-11-05 02:00:35 +00:00
undef-start.s Re-apply r249630: ELF2: Use `-flavor gnu2` after `not` to fix Windows buildbot. 2015-10-08 20:57:29 +00:00
undef.s Re-apply r249630: ELF2: Use `-flavor gnu2` after `not` to fix Windows buildbot. 2015-10-08 20:57:29 +00:00
undefined-opt.s [ELF2] - Linker script EXTERN command implemented. 2015-10-19 17:35:12 +00:00
visibility.s ELF2: Use ld.lld2 instead of lld -flavor gnu2. 2015-10-07 17:31:39 +00:00
whole-archive.s ELF2: Use ld.lld2 instead of lld -flavor gnu2. 2015-10-07 17:31:39 +00:00
writable-merge.s Add support for merging the contents of SHF_MERGE sections. 2015-10-19 21:00:02 +00:00
x86-64-reloc-32-error.s [elf2] Simplify and rename x86-64 relocation error tests. 2015-10-16 22:05:52 +00:00
x86-64-reloc-32S-error.s [elf2] Simplify and rename x86-64 relocation error tests. 2015-10-16 22:05:52 +00:00