[PATCH] D77647: [ELF][AArch64] Add R_AARCH64_PLT32 relocation type.
Peter Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 8 04:49:59 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG02cd80e68ecf: [ELF][AArch64] Add R_AARCH64_PLT32 relocation type. (authored by psmith).
Herald added a project: LLVM.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77647/new/
https://reviews.llvm.org/D77647
Files:
llvm/include/llvm/BinaryFormat/ELFRelocs/AArch64.def
llvm/test/tools/llvm-readobj/ELF/reloc-types-elf-aarch64.test
Index: llvm/test/tools/llvm-readobj/ELF/reloc-types-elf-aarch64.test
===================================================================
--- llvm/test/tools/llvm-readobj/ELF/reloc-types-elf-aarch64.test
+++ llvm/test/tools/llvm-readobj/ELF/reloc-types-elf-aarch64.test
@@ -127,6 +127,7 @@
# CHECK: Type: R_AARCH64_TLS_TPREL64 (1030)
# CHECK: Type: R_AARCH64_TLSDESC (1031)
# CHECK: Type: R_AARCH64_IRELATIVE (1032)
+# CHECK: Type: R_AARCH64_PLT32 (1033)
--- !ELF
FileHeader:
@@ -267,3 +268,4 @@
- Type: R_AARCH64_TLS_TPREL64
- Type: R_AARCH64_TLSDESC
- Type: R_AARCH64_IRELATIVE
+ - Type: R_AARCH64_PLT32
Index: llvm/include/llvm/BinaryFormat/ELFRelocs/AArch64.def
===================================================================
--- llvm/include/llvm/BinaryFormat/ELFRelocs/AArch64.def
+++ llvm/include/llvm/BinaryFormat/ELFRelocs/AArch64.def
@@ -132,6 +132,7 @@
ELF_RELOC(R_AARCH64_TLS_TPREL64, 0x406)
ELF_RELOC(R_AARCH64_TLSDESC, 0x407)
ELF_RELOC(R_AARCH64_IRELATIVE, 0x408)
+ELF_RELOC(R_AARCH64_PLT32, 0x409)
// ELF_RELOC(R_AARCH64_P32_NONE, 0)
ELF_RELOC(R_AARCH64_P32_ABS32, 0x001)
@@ -219,3 +220,4 @@
ELF_RELOC(R_AARCH64_P32_TLS_TPREL, 0x0ba)
ELF_RELOC(R_AARCH64_P32_TLSDESC, 0x0bb)
ELF_RELOC(R_AARCH64_P32_IRELATIVE, 0x0bc)
+ELF_RELOC(R_AARCH64_P32_PLT32, 0x0bd)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77647.255962.patch
Type: text/x-patch
Size: 1532 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200408/77218cac/attachment.bin>
More information about the llvm-commits
mailing list