llvm-project/llvm/test/tools/llvm-readobj/ELF
Peter Smith 02cd80e68e [ELF][AArch64] Add R_AARCH64_PLT32 relocation type.
The R_AARCH64_PLT32 relocation type will be documented in the next release
of ELF for the 64-bit Arm Architecture. It is being added in draft state
for the benefit of the position independent vtable feature.

R_AARCH64_PLT32 is very similar to R_AARCH64_PREL32. The intention is to
provide a signed 32-bit integer representing an offset from the place
to a function.
- It relocates 32-bit data
- The expression is S + A - P
- The overflow check for the expression is -2^31 <= X < 2^31
- The relocation generates Thunks/Veneers/Stubs and PLT entries as per
  R_AArch64_CALL26
- If the symbol S is an undefined weak the ABI does not define its value.

The ABI defines a code for ilp32 for completeness, I have added the code
but have only added to the existing reloc-types-elf-aarch64.text as there
is no ilp32 equivalent.

Differential Revision: https://reviews.llvm.org/D77647
2020-04-08 12:19:35 +01:00
..
AArch64 [llvm-readobj] Include section name of notes. 2020-03-05 09:53:14 -08:00
ARM
Inputs [llvm-readobj][test] - Cleanup testing of the --sections command line option. 2020-01-31 12:58:12 +03:00
RISCV [RISCV] Support RISC-V ELF attributes sections in llvm-readobj. 2020-04-01 21:50:11 +08:00
addrsig.test [yaml2obj][obj2yaml] - Simplify format of the SHT_LLVM_ADDRSIG section. 2020-02-05 12:33:14 +03:00
all.test [llvm-readobj] Derive dynamic symtab size from DT_HASH 2020-03-23 12:21:20 +00:00
amdgpu-elf-definitions.test [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names 2020-03-16 07:42:04 -07:00
basic.test [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names 2020-03-16 07:42:04 -07:00
broken-dynamic-reloc.test [lib/ObjectYAML] - Make `ELFYAML::Relocation::Offset` optional. 2020-03-06 13:59:58 +03:00
broken-dynsym-link.test
broken-group.test
call-graph-profile.test [llvm-readobj][test] - Add a test for --elf-cg-profile option. 2020-02-11 13:06:36 +03:00
check-output-order.test [llvm-readelf] Make --all output order closer to GNU readelf 2020-03-04 12:22:12 -08:00
demangle.test [yaml2obj] - Set a default value for `PAddr` property of a program header to a value of `VAddr` 2020-03-14 17:44:57 +03:00
dependent-libraries.test [llvm-readobj][llvm-readelf] - Remove excessive empty lines when reporting errors and warnings. 2019-12-11 15:06:33 +03:00
dyn-symbols-size-from-hash-table.test [llvm-readobj] Derive dynamic symtab size from DT_HASH 2020-03-23 12:21:20 +00:00
dyn-symbols.test [llvm-readobj] - Report a warning when an unexpected DT_SYMENT tag value is met. 2020-02-18 14:36:17 +03:00
dynamic-empty.test
dynamic-malformed.test [llvm-readobj] - Introduce warnings for cases when unable to read strings from string tables. 2020-04-07 14:40:32 +03:00
dynamic-no-pt-dynamic.test [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names 2020-03-16 07:42:04 -07:00
dynamic-not-in-pt-dynamic.test [llvm-readobj] - Improve error message reported by DynRegionInfo. 2020-01-30 14:34:20 +03:00
dynamic-reloc-no-section-headers.test [lib/ObjectYAML] - Make `ELFYAML::Relocation::Offset` optional. 2020-03-06 13:59:58 +03:00
dynamic-table-dtnull.s [test] yaml2obj -docnum => --docnum= 2020-02-04 10:33:21 -08:00
dynamic-tags-machine-specific.test [llvm-readelf][llvm-readobj] - Fix the indentation when printing dynamic tags. 2020-01-21 14:24:50 +03:00
dynamic-tags.test [llvm-readelf][llvm-readobj] - Fix the indentation when printing dynamic tags. 2020-01-21 14:24:50 +03:00
file-header-abi-version.test [llvm-readobj][test] - Fix grammar in comments. 2020-01-14 12:51:52 +03:00
file-header-os-abi.test [llvm-readobj][test] - Fix grammar in comments. 2020-01-14 12:51:52 +03:00
file-headers.test [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names 2020-03-16 07:42:04 -07:00
file-name.test
file-types.test
gnu-file-headers.test [llvm-readelf] Print EI_ABIVERSION as decimal instead of hexadecimal 2020-01-06 09:25:45 -08:00
gnu-note-size.test [llvm-readobj] Include section name of notes. 2020-03-05 09:53:14 -08:00
gnu-notes.test [llvm-readobj] Include section name of notes. 2020-03-05 09:53:14 -08:00
gnu-phdrs.test
gnu-section-mapping-no-phdrs.test [llvm-readobj][test] - Stop using Inputs/trivial.obj.elf-x86-64. 2019-12-23 13:10:26 +03:00
gnu-section-mapping-no-shdrs.test
gnu-sections.test [llvm-readelf] - Change letters used for SHF_ARM_PURECODE and SHF_X86_64_LARGE flags. 2019-12-18 11:31:58 +03:00
gnuhash.test [llvm-readobj] - Add a few warnings for --gnu-hash-table. 2020-01-30 14:02:24 +03:00
groups.test
hash-histogram.test [llvm-readobj] - Do not crash when SHT_HASH table is broken. 2020-04-01 18:03:02 +03:00
hash-symbols.test [llvm-readobj] - Do not crash when SHT_HASH table is broken. 2020-04-01 18:03:02 +03:00
hash-table.test [llvm-readobj] - Do not crash when SHT_HASH table is broken. 2020-04-01 18:03:02 +03:00
headers.test
hex-dump-multi.s
hex-dump.test [llvm-readobj][test] - Stop using Inputs/trivial.obj.elf-x86-64. 2019-12-23 13:10:26 +03:00
hidden-versym.test [yaml2obj] - Change the order of implicitly created sections. 2020-02-19 15:09:19 +03:00
invalid-shstrndx.test [llvm-readobj] - Change the error to warning when a section name is unknown. 2020-02-10 16:01:30 +03:00
linker-options.test [llvm-readobj][llvm-readelf] - Remove excessive empty lines when reporting errors and warnings. 2019-12-11 15:06:33 +03:00
loadname.test [llvm-readobj] - Introduce warnings for cases when unable to read strings from string tables. 2020-04-07 14:40:32 +03:00
machine-specific-section-types.test
malformed-pt-dynamic.test
many-sections.s
many-sections2.s
merged.test
mips-abiflags.test
mips-got-overlapped.test
mips-got.test
mips-options-sec.test
mips-options.test
mips-plt.test
mips-reginfo.test
mips-rld-map-rel.test
mips-symbols-stother.test [llvm-readobj][test] - Refactor mips-st-other.test 2019-12-19 11:23:39 +03:00
needed-libs.test [llvm-readobj] - Introduce warnings for cases when unable to read strings from string tables. 2020-04-07 14:40:32 +03:00
no-action.test [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names 2020-03-16 07:42:04 -07:00
no-phdrs.test
no-relocs.test
no-shdrs.test
non-dynamic-in-pt-dynamic.test [llvm-readobj] - Improve error message reported by DynRegionInfo. 2020-01-30 14:34:20 +03:00
note-amd.s [llvm-readobj] Include section name of notes. 2020-03-05 09:53:14 -08:00
note-amdgpu.test [llvm-readobj] Include section name of notes. 2020-03-05 09:53:14 -08:00
note-core-ntfile-bad.test
note-core-ntfile.test [llvm-readobj] Include section name of notes. 2020-03-05 09:53:14 -08:00
note-core.test [llvm-readobj] Include section name of notes. 2020-03-05 09:53:14 -08:00
note-freebsd.s [llvm-readobj] Include section name of notes. 2020-03-05 09:53:14 -08:00
note-generic.s [llvm-readobj] Include section name of notes. 2020-03-05 09:53:14 -08:00
note-gnu-property.s [llvm-readobj] Include section name of notes. 2020-03-05 09:53:14 -08:00
note-gnu-property2.s [llvm-readobj] Include section name of notes. 2020-03-05 09:53:14 -08:00
note-unknown.s [llvm-readobj] Include section name of notes. 2020-03-05 09:53:14 -08:00
packed-relocs-empty.s
packed-relocs-error1.s
packed-relocs-error2.s
packed-relocs-error3.s
packed-relocs-error4.s
packed-relocs-error5.s
packed-relocs.test [test] yaml2obj -docnum => --docnum= 2020-02-04 10:33:21 -08:00
ppc64-glink.test [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names 2020-03-16 07:42:04 -07:00
program-headers.test [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names 2020-03-16 07:42:04 -07:00
pt-gnu-property.test
reloc-addends.test [llvm-readobj][llvm-readelf][test] - Add a test to check how we dump relocation addends. 2020-03-20 13:41:32 +03:00
reloc-negative-addend-no-sym.test
reloc-no-sym.test
reloc-symbol-with-versioning.test [yaml2obj] - Change the order of implicitly created sections. 2020-02-19 15:09:19 +03:00
reloc-types-elf-aarch64.test [ELF][AArch64] Add R_AARCH64_PLT32 relocation type. 2020-04-08 12:19:35 +01:00
reloc-types-elf-arm.test [llvm-readobj][test] - Remove unused Offset key from reloc-types-*.test tests 2020-03-17 12:10:08 +03:00
reloc-types-elf-i386.test
reloc-types-elf-lanai.test [llvm-readobj][test] - Remove unused Offset key from reloc-types-*.test tests 2020-03-17 12:10:08 +03:00
reloc-types-elf-mips.test [llvm-readobj][test] - Remove unused Offset key from reloc-types-*.test tests 2020-03-17 12:10:08 +03:00
reloc-types-elf-mips64.test [llvm-readobj][test] - Remove unused Offset key from reloc-types-*.test tests 2020-03-17 12:10:08 +03:00
reloc-types-elf-ppc64.test [lib/ObjectYAML] - Make `ELFYAML::Relocation::Offset` optional. 2020-03-06 13:59:58 +03:00
reloc-types-elf-x64.test
reloc-zero-name-or-value.test
relocation-errors.test [lib/ObjectYAML] - Make `ELFYAML::Relocation::Offset` optional. 2020-03-06 13:59:58 +03:00
relocations.test [lib/ObjectYAML] - Make `ELFYAML::Relocation::Offset` optional. 2020-03-06 13:59:58 +03:00
relr-relocs.test [test] yaml2obj -docnum => --docnum= 2020-02-04 10:33:21 -08:00
section-arch-flags.test [llvm-readelf] - Change letters used for SHF_ARM_PURECODE and SHF_X86_64_LARGE flags. 2019-12-18 11:31:58 +03:00
section-flags-os-proc.test [llvm-readobj][test] - Move a comment. NFC. 2019-12-18 11:50:08 +03:00
section-flags.test [llvm-readelf][llvm-readobj] - Reimplement the logic of section flags dumping. 2019-12-18 10:44:40 +03:00
section-symbols.test
section-types.test
sections-ext.test [llvm-readobj][test] - Cleanup and split tests in tools/llvm-readobj folder. 2019-12-12 12:21:58 +03:00
sections-no-section-header-string-table.test [llvm-readobj] - Change the error to warning when a section name is unknown. 2020-02-10 16:01:30 +03:00
sections.test [llvm-readobj][test] - Cleanup testing of the --sections command line option. 2020-01-31 12:58:12 +03:00
stack-sizes.test [llvm-readobj] Allow syms from all sections to match stack size entries 2020-03-20 10:54:18 +00:00
string-dump-multi.s
string-dump.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
symbol-64bit.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
symbol-binding.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
symbol-shndx.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
symbol-types.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
symbol-visibility.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
symbols.test [llvm-readobj][test] - Remove --symbols --dyn-syms part from Object/readobj-shared-object.test. 2020-01-28 12:36:29 +03:00
thin-archive-paths.test [llvm-readobj][test] - Stop using Inputs/trivial.obj.elf-x86-64. 2019-12-23 13:10:26 +03:00
types.test
unwind.test [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
verdef-invalid.test [yaml2obj] - Change the order of implicitly created sections. 2020-02-19 15:09:19 +03:00
verneed-flags.yaml
verneed-invalid.test [yaml2obj] - Automatically assign sh_addr for allocatable sections. 2020-02-22 14:43:54 +03:00
versioninfo.test [yaml2obj] - Automatically assign sh_addr for allocatable sections. 2020-02-22 14:43:54 +03:00
versym-invalid.test [yaml2obj] - Change the order of implicitly created sections. 2020-02-19 15:09:19 +03:00
wrong-shstrtab-type.test