[PAC][llvm-readobj][ELF][AArch64] Define R_AARCH64_AUTH_TLSDESC_CALL reloc#199503
Open
kovdan01 wants to merge 1 commit into
Open
[PAC][llvm-readobj][ELF][AArch64] Define R_AARCH64_AUTH_TLSDESC_CALL reloc#199503kovdan01 wants to merge 1 commit into
kovdan01 wants to merge 1 commit into
Conversation
…reloc See specification ARM-software/abi-aa#395
|
@llvm/pr-subscribers-llvm-binary-utilities Author: Daniil Kovalev (kovdan01) ChangesSee specification ARM-software/abi-aa#395 Full diff: https://github.com/llvm/llvm-project/pull/199503.diff 2 Files Affected:
diff --git a/llvm/include/llvm/BinaryFormat/ELFRelocs/AArch64.def b/llvm/include/llvm/BinaryFormat/ELFRelocs/AArch64.def
index 1cfcdbf67dac5..c8e9e1cd4f644 100644
--- a/llvm/include/llvm/BinaryFormat/ELFRelocs/AArch64.def
+++ b/llvm/include/llvm/BinaryFormat/ELFRelocs/AArch64.def
@@ -162,6 +162,7 @@ ELF_RELOC(R_AARCH64_AUTH_GOT_ADR_PREL_LO21, 0x252)
ELF_RELOC(R_AARCH64_AUTH_TLSDESC_ADR_PAGE21, 0x253)
ELF_RELOC(R_AARCH64_AUTH_TLSDESC_LD64_LO12, 0x254)
ELF_RELOC(R_AARCH64_AUTH_TLSDESC_ADD_LO12, 0x255)
+ELF_RELOC(R_AARCH64_AUTH_TLSDESC_CALL, 0x256)
ELF_RELOC(R_AARCH64_AUTH_RELATIVE, 0x411)
ELF_RELOC(R_AARCH64_AUTH_GLOB_DAT, 0x412)
ELF_RELOC(R_AARCH64_AUTH_TLSDESC, 0x413)
diff --git a/llvm/test/tools/llvm-readobj/ELF/reloc-types-aarch64.test b/llvm/test/tools/llvm-readobj/ELF/reloc-types-aarch64.test
index d97cb70f7591e..a9082fc16f3d3 100644
--- a/llvm/test/tools/llvm-readobj/ELF/reloc-types-aarch64.test
+++ b/llvm/test/tools/llvm-readobj/ELF/reloc-types-aarch64.test
@@ -138,6 +138,7 @@
# CHECK: Type: R_AARCH64_AUTH_TLSDESC_ADR_PAGE21 (595)
# CHECK: Type: R_AARCH64_AUTH_TLSDESC_LD64_LO12 (596)
# CHECK: Type: R_AARCH64_AUTH_TLSDESC_ADD_LO12 (597)
+# CHECK: Type: R_AARCH64_AUTH_TLSDESC_CALL (598)
# CHECK: Type: R_AARCH64_COPY (1024)
# CHECK: Type: R_AARCH64_GLOB_DAT (1025)
# CHECK: Type: R_AARCH64_JUMP_SLOT (1026)
@@ -296,6 +297,7 @@ Sections:
- Type: R_AARCH64_AUTH_TLSDESC_ADR_PAGE21
- Type: R_AARCH64_AUTH_TLSDESC_LD64_LO12
- Type: R_AARCH64_AUTH_TLSDESC_ADD_LO12
+ - Type: R_AARCH64_AUTH_TLSDESC_CALL
- Type: R_AARCH64_COPY
- Type: R_AARCH64_GLOB_DAT
- Type: R_AARCH64_JUMP_SLOT
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
See specification ARM-software/abi-aa#395