llvm-project/lld/test/ELF/Inputs
Peter Smith e208208a31 [ELF][AArch64] Support for BTI and PAC
Branch Target Identification (BTI) and Pointer Authentication (PAC) are
architecture features introduced in v8.5a and 8.3a respectively. The new
instructions have been added in the hint space so that binaries take
advantage of support where it exists yet still run on older hardware. The
impact of each feature is:

BTI: For executable pages that have been guarded, all indirect branches
must have a destination that is a BTI instruction of the appropriate type.
For the static linker, this means that PLT entries must have a "BTI c" as
the first instruction in the sequence. BTI is an all or nothing
property for a link unit, any indirect branch not landing on a valid
destination will cause a Branch Target Exception.

PAC: The dynamic loader encodes with PACIA the address of the destination
that the PLT entry will load from the .plt.got, placing the result in a
subset of the top-bits that are not valid virtual addresses. The PLT entry
may authenticate these top-bits using the AUTIA instruction before
branching to the destination. Use of PAC in PLT sequences is a contract
between the dynamic loader and the static linker, it is independent of
whether the relocatable objects use PAC.

BTI and PAC are independent features that can be combined. So we can have
several combinations of PLT:
- Standard with no BTI or PAC
- BTI PLT with "BTI c" as first instruction.
- PAC PLT with "AUTIA1716" before the indirect branch to X17.
- BTIPAC PLT with "BTI c" as first instruction and "AUTIA1716" before the
  first indirect branch to X17.
    
The use of BTI and PAC in relocatable object files are encoded by feature
bits in the .note.gnu.property section in a similar way to Intel CET. There
is one AArch64 specific program property GNU_PROPERTY_AARCH64_FEATURE_1_AND
and two target feature bits defined:
- GNU_PROPERTY_AARCH64_FEATURE_1_BTI
-- All executable sections are compatible with BTI.
- GNU_PROPERTY_AARCH64_FEATURE_1_PAC
-- All executable sections have return address signing enabled.

Due to the properties of FEATURE_1_AND the static linker can tell when all
input relocatable objects have the BTI and PAC feature bits set. The static
linker uses this to enable the appropriate PLT sequence.
Neither -> standard PLT
GNU_PROPERTY_AARCH64_FEATURE_1_BTI -> BTI PLT
GNU_PROPERTY_AARCH64_FEATURE_1_PAC -> PAC PLT
Both properties -> BTIPAC PLT

In addition to the .note.gnu.properties there are two new command line
options:
--force-bti : Act as if all relocatable inputs had
GNU_PROPERTY_AARCH64_FEATURE_1_BTI and warn for every relocatable object
that does not.
--pac-plt : Act as if all relocatable inputs had
GNU_PROPERTY_AARCH64_FEATURE_1_PAC. As PAC is a contract between the loader
and static linker no warning is given if it is not present in an input.

Two processor specific dynamic tags are used to communicate that a non
standard PLT sequence is being used.
DTI_AARCH64_BTI_PLT and DTI_AARCH64_BTI_PAC.

Differential Revision: https://reviews.llvm.org/D62609

llvm-svn: 362793
2019-06-07 13:00:17 +00:00
..
aarch64-addrifunc.s [ELF][AArch64] Support for BTI and PAC 2019-06-07 13:00:17 +00:00
aarch64-bti1.s [ELF][AArch64] Support for BTI and PAC 2019-06-07 13:00:17 +00:00
aarch64-btipac1.s [ELF][AArch64] Support for BTI and PAC 2019-06-07 13:00:17 +00:00
aarch64-condb-reloc.s
aarch64-copy2.s Fix implicit plt creation on aarch64. 2016-06-04 19:11:14 +00:00
aarch64-func2.s [ELF][AArch64] Support for BTI and PAC 2019-06-07 13:00:17 +00:00
aarch64-func3-bti.s [ELF][AArch64] Support for BTI and PAC 2019-06-07 13:00:17 +00:00
aarch64-func3-btipac.s [ELF][AArch64] Support for BTI and PAC 2019-06-07 13:00:17 +00:00
aarch64-func3-pac.s [ELF][AArch64] Support for BTI and PAC 2019-06-07 13:00:17 +00:00
aarch64-func3.s [ELF][AArch64] Support for BTI and PAC 2019-06-07 13:00:17 +00:00
aarch64-nobti.s [ELF][AArch64] Support for BTI and PAC 2019-06-07 13:00:17 +00:00
aarch64-nopac.s [ELF][AArch64] Support for BTI and PAC 2019-06-07 13:00:17 +00:00
aarch64-pac1.s [ELF][AArch64] Support for BTI and PAC 2019-06-07 13:00:17 +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
aarch64-tstbr14-reloc.s
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
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-long-thunk-converge.lds ELF: Add support for short thunks on ARM. 2018-03-29 22:43:52 +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
arm-vfp-arg-base.s [ELF][ARM] Implement support for Tag_ABI_VFP_args 2018-07-31 13:41:59 +00:00
arm-vfp-arg-compat.s [ELF][ARM] Implement support for Tag_ABI_VFP_args 2018-07-31 13:41:59 +00:00
arm-vfp-arg-toolchain.s [ELF][ARM] Implement support for Tag_ABI_VFP_args 2018-07-31 13:41:59 +00:00
arm-vfp-arg-vfp.s [ELF][ARM] Implement support for Tag_ABI_VFP_args 2018-07-31 13:41:59 +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-discarded-reloc.s Revert "Revert "[ELF] Suppress "STT_SECTION symbol should be defined" on .eh_frame, .debug*, .zdebug* and .gcc_except_table"" 2019-06-06 20:16:59 +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
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
copy-rel-tls.s [ELF] Don't copy STT_TLS in copy relocation 2018-08-06 19:09:40 +00:00
copy-rel-version.s [ELF] Fix copy relocation when two symbols share the same Symbol instance. 2018-06-11 19:42:57 +00:00
copy-relocation-zero-abs-addr.s Correct aligment computation for shared object symbols. 2018-06-06 21:43:34 +00:00
copy-relocation-zero-nonabs-addr.s Correct aligment computation for shared object symbols. 2018-06-06 21:43:34 +00:00
copy-relocation-zero-nonabs-addr.script Correct aligment computation for shared object symbols. 2018-06-06 21:43:34 +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
deplibs-lib_bar.s [ELF] Implement Dependent Libraries Feature 2019-05-17 03:44:15 +00:00
deplibs-lib_foo.s [ELF] Implement Dependent Libraries Feature 2019-05-17 03:44:15 +00:00
discard-merge-unnamed.o
dso-undef-size.s [ELF] - Do not set st_size field of SHT_UNDEF symbols. 2017-06-28 09:51:33 +00:00
dummy-shared.s [ELF] Emit weak-undef symbols in .dynsym of a PIE binary only if linked against shared libs. 2019-03-18 15:32:57 +00:00
duplicated-plt-entry.s
dynamic-list-weak-archive.s Handle lazy symbols is computeIsPreemptible. 2017-09-08 18:41:49 +00:00
dynamic-reloc-weak.s
dynamic-reloc.s
eh-frame-end.s Avoid empty .eh_frame sections. 2017-05-02 15:45:31 +00:00
eh-frame-pcrel-overflow.s [ELF] Check eh_frame_hdr overflow with PC offsets instead of PC absolute addresses 2018-07-20 20:27:42 +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.ll Also search BitcodeFiles for exclude-lib symbols 2018-07-11 17:45:28 +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
far-long-arm-abs.s ELF: Add support for short thunks on ARM. 2018-03-29 22:43:52 +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-invalid-ranges.obj.s gdb-index: Handle errors when parsing ranges 2018-12-22 00:31:05 +00:00
gdb-index-multiple-cu-2.s [ELF] Add a better test for the multi-CU .gdb_index bug that D54361 fixed 2018-11-13 20:49:36 +00:00
gdb-index.s Remove 'z' in .zdebug when decompressing a section. 2018-02-12 22:25:45 +00:00
gnu-ifunc-canon-ro-abs.s ELF: Allow GOT relocs pointing to non-preemptable ifunc to resolve to an IRELATIVE where possible. 2019-02-13 21:49:55 +00:00
gnu-ifunc-canon-ro-pcrel.s ELF: Allow GOT relocs pointing to non-preemptable ifunc to resolve to an IRELATIVE where possible. 2019-02-13 21:49:55 +00:00
gnu-ifunc-canon-rw-addend.s ELF: Allow GOT relocs pointing to non-preemptable ifunc to resolve to an IRELATIVE where possible. 2019-02-13 21:49:55 +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
hexagon-shared.s [ELF][HEXAGON] Add support for dynamic libraries 2018-09-28 14:09:16 +00:00
hexagon.s Add Hexagon Support 2018-06-13 18:45:25 +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-cet1.s Read .note.gnu.property sections and emit a merged .note.gnu.property section. 2019-06-05 03:04:46 +00:00
i386-cet2.s Read .note.gnu.property sections and emit a merged .note.gnu.property section. 2019-06-05 03:04:46 +00:00
i386-cet3.s Read .note.gnu.property sections and emit a merged .note.gnu.property section. 2019-06-05 03:04:46 +00:00
i386-cet4.s Read .note.gnu.property sections and emit a merged .note.gnu.property section. 2019-06-05 03:04: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-linkonce.s [ELF] Revert "Also demote lazy symbols." 2018-09-11 23:00:36 +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-static-tls-model1.s Recommit r353293 "[LLD][ELF] - Set DF_STATIC_TLS flag for i386 target." 2019-02-06 14:43:30 +00:00
i386-static-tls-model2.s Recommit r353293 "[LLD][ELF] - Set DF_STATIC_TLS flag for i386 target." 2019-02-06 14:43:30 +00:00
i386-static-tls-model3.s Recommit r353293 "[LLD][ELF] - Set DF_STATIC_TLS flag for i386 target." 2019-02-06 14:43:30 +00:00
i386-static-tls-model4.s Recommit r353293 "[LLD][ELF] - Set DF_STATIC_TLS flag for i386 target." 2019-02-06 14:43:30 +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-absolute2.s [LLD][ELF] - ICF: Check we do not fold sections which relocations reffering to absolute symbols with a different values. 2018-07-31 13:55:25 +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
icf-safe.s ELF: Implement --icf=safe using address-significance tables. 2018-07-18 22:49:31 +00:00
icf2.s
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
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-64-got-load.s [ELF][MIPS] Fix primary GOT sometimes overflowing by one or two words 2018-07-24 05:40:37 +00:00
mips-align-err.s
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-mgot-1.s [ELF][MIPS] Multi-GOT implementation 2018-06-11 07:24:31 +00:00
mips-mgot-2.s [ELF][MIPS] Multi-GOT implementation 2018-06-11 07:24:31 +00:00
mips-micro-gp0-non-zero.o [ELF][MIPS] Fix calculation of GP relative relocations in case of relocatable output 2018-05-08 15:34:06 +00:00
mips-micro.s [MIPS] Initial support of microMIPS code linking 2017-09-12 13:08:24 +00:00
mips-n64-gp0-non-zero.o [ELF][MIPS] Fix calculation of GP relative relocations in case of relocatable output 2018-05-08 15:34:06 +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
ppc64-addr16-error.s
ppc64-bsymbolic-local-def.s [PPC64] Add test documenting toc-restore when linking with -Bsymbolic. [NFC] 2018-10-03 21:58:42 +00:00
ppc64-func-global-entry.s [PPC64] Add offset to local entry point when calling functions without plt 2018-04-27 15:41:19 +00:00
ppc64-func-local-entry.s [PPC64] Add offset to local entry point when calling functions without plt 2018-04-27 15:41:19 +00:00
ppc64-func.s [PPC64] Fix toc restore nops offset for V2 ABI 2018-04-23 15:01:24 +00:00
ppc64-no-split-stack.s Reland "[PPC64] Add split - stack support." 2018-10-16 17:13:01 +00:00
ppc64-sort-small-cm-relocs-input2.s [PPC64] Reland r351978 'Sort .toc sections accessed with small code model ...' 2019-01-24 18:17:40 +00:00
ppc64-sort-small-cm-relocs-input3.s [PPC64] Reland r351978 'Sort .toc sections accessed with small code model ...' 2019-01-24 18:17:40 +00:00
ppc64-sort-small-cm-relocs-input4.s [PPC64] Reland r351978 'Sort .toc sections accessed with small code model ...' 2019-01-24 18:17:40 +00:00
ppc64-tls-ie-le.s [PPC64] Add TLS initial exec to local exec relaxation 2018-08-21 15:13:53 +00:00
ppc64-tls.s [PPC64] Add support for initial-exec TLS model 2018-06-01 15:20:56 +00:00
ppc64-toc-relax-shared.s [PPC64] toc-indirect to toc-relative relaxation 2019-05-07 04:26:05 +00:00
ppc64-toc-relax.s [PPC64] toc-indirect to toc-relative relaxation 2019-05-07 04:26:05 +00:00
ppc64le-quadword-ldst.o [PPC64] Optimize redundant instructions in global access sequences. 2018-09-20 00:26:44 +00:00
print-icf.s Convert CRLF. NFC. 2019-02-11 21:38:20 +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
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
relocatable2.s
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
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
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
resolution-end.s Also define 'end' if it is present in a .so. 2017-01-19 19:51:02 +00:00
resolution-shared.s
resolution.s
rodynamic.s [lld][ELF]Add option to make .dynamic read only 2017-05-26 19:12:38 +00:00
shared-ppc64.s [PPC64] Remove support for ELF V1 ABI in LLD 2018-05-04 15:09:49 +00:00
shared.s
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 [LLD] - Update the test cases after yaml2obj change. 2019-04-03 14:54:22 +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
tls-mismatch.s
tls-opt-gdie.s
tls-opt-gdiele-i686.s
tls-opt-iele-i686-nopic.s
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] Rework debug line parsing to use llvm::Error and callbacks (LLD-side) 2018-05-10 10:52:21 +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
versiondef.s [ELF] Do not error for missing version when symbol has local version. 2018-05-14 10:13:56 +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
warn-common2.s
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-with-archive.s Fix linker-defined symbols possibly not being defined when -wrap is used 2019-01-02 19:28:00 +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-cet1.s Read .note.gnu.property sections and emit a merged .note.gnu.property section. 2019-06-05 03:04:46 +00:00
x86-64-cet2.s Read .note.gnu.property sections and emit a merged .note.gnu.property section. 2019-06-05 03:04:46 +00:00
x86-64-cet3.s Read .note.gnu.property sections and emit a merged .note.gnu.property section. 2019-06-05 03:04:46 +00:00
x86-64-cet4.s Read .note.gnu.property sections and emit a merged .note.gnu.property section. 2019-06-05 03:04:46 +00:00
x86-64-pcrel.s Fix a bug in R_X86_64_PC{8,16} relocation handling. 2019-02-07 18:12:57 +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
x86-64-split-stack-extra.s [LLD] Update split stack support to handle more generic prologues. Improve error handling. Add test file for better code-coverage. Update tests to be more complete. 2018-08-02 18:13:40 +00:00
x86-64-split-stack-main.s Implement framework for linking split-stack object files, and x86_64 support. 2018-07-17 23:16:02 +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