llvm-project/llvm/test/tools/llvm-readobj
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
..
COFF Implement CET Shadow Stack (Intel Controlflow Enforcement Technology) support on Windows 2020-03-16 17:51:32 +09:00
ELF [ELF][AArch64] Add R_AARCH64_PLT32 relocation type. 2020-04-08 12:19:35 +01:00
MachO [test] Use yaml2obj -o %t instead of > %t 2020-01-21 17:20:18 -08:00
wasm [WebAssembly] Use llvm::Optional to store optional symbol attributes. NFC. 2020-02-19 17:25:33 -08:00
archive.test [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names 2020-03-16 07:42:04 -07:00
basic.test [llvm-readobj][test] - Cleanup and split tests in tools/llvm-readobj folder. 2019-12-12 12:21:58 +03:00
thin-archive.test [Object] Change ELFObjectFile<ELFT>::getFileFormatName() to use BFD names 2020-03-16 07:42:04 -07:00