Skip to content

Commit

Permalink
[test][llvm-objdump][AArch64] Add tests for ELF AUTH constants
Browse files Browse the repository at this point in the history
This patch introduces llvm-objdump tests for new `AARCH64_AUTH_RELR`,
`AARCH64_AUTH_RELRSZ` and `AARCH64_AUTH_RELRENT` dynamic tags.
  • Loading branch information
kovdan01 committed Dec 6, 2023
1 parent e9c6f3f commit d06f0eb
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,9 @@ ProgramHeaders:
# AARCH64: Dynamic Section:
# AARCH64-NEXT: AARCH64_BTI_PLT 0x0000000000000001
# AARCH64-NEXT: AARCH64_PAC_PLT 0x0000000000000002
# AARCH64-NEXT: AARCH64_AUTH_RELR 0x0000000000000003
# AARCH64-NEXT: AARCH64_AUTH_RELRSZ 0x0000000000000004
# AARCH64-NEXT: AARCH64_AUTH_RELRENT 0x0000000000000005

--- !ELF
FileHeader:
Expand All @@ -283,6 +286,12 @@ Sections:
Value: 1
- Tag: DT_AARCH64_PAC_PLT
Value: 2
- Tag: DT_AARCH64_AUTH_RELR
Value: 3
- Tag: DT_AARCH64_AUTH_RELRSZ
Value: 4
- Tag: DT_AARCH64_AUTH_RELRENT
Value: 5
- Tag: DT_NULL
Value: 0
ProgramHeaders:
Expand Down

0 comments on commit d06f0eb

Please sign in to comment.