[binutils-gdb] aarch64: delete old tests for PAC & BTI PLT
Matthieu Longo
mlongo@sourceware.org
Mon Dec 2 15:21:01 GMT 2024
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=be7561dbfdcd7338a1dcee26b5b3d3b59501478f
commit be7561dbfdcd7338a1dcee26b5b3d3b59501478f
Author: Matthieu Longo <matthieu.longo@arm.com>
Date: Fri Nov 29 12:15:16 2024 +0000
aarch64: delete old tests for PAC & BTI PLT
Diff:
---
.../ld-aarch64/protections/bti-pac-plt-1.d | 35 ----------------------
.../ld-aarch64/protections/bti-pac-plt-2.d | 35 ----------------------
2 files changed, 70 deletions(-)
diff --git a/ld/testsuite/ld-aarch64/protections/bti-pac-plt-1.d b/ld/testsuite/ld-aarch64/protections/bti-pac-plt-1.d
deleted file mode 100644
index 495b304be24..00000000000
--- a/ld/testsuite/ld-aarch64/protections/bti-pac-plt-1.d
+++ /dev/null
@@ -1,35 +0,0 @@
-#source: bti-plt-1.s
-#target: [check_shared_lib_support]
-#as: -mabi=lp64
-#ld: -shared -z force-bti -z pac-plt -T bti-plt.ld
-#objdump: -dr -j .plt
-
-[^:]*: *file format elf64-.*aarch64
-
-Disassembly of section \.plt:
-
-[0-9a-f]+ <.*>:
-.*: d503245f bti c
-.*: a9bf7bf0 stp x16, x30, \[sp, #-16\]!
-.*: 90000090 adrp x16, 28000 <_GLOBAL_OFFSET_TABLE_>
-.*: f9400e11 ldr x17, \[x16, #24\]
-.*: 91006210 add x16, x16, #0x18
-.*: d61f0220 br x17
-.*: d503201f nop
-.*: d503201f nop
-
-[0-9a-f]+ <.*>:
-.*: 90000090 adrp x16, 28000 <_GLOBAL_OFFSET_TABLE_>
-.*: f9401211 ldr x17, \[x16, #32\]
-.*: 91008210 add x16, x16, #0x20
-.*: d503219f autia1716
-.*: d61f0220 br x17
-.*: d503201f nop
-
-[0-9a-f]+ <.*>:
-.*: 90000090 adrp x16, 28000 <_GLOBAL_OFFSET_TABLE_>
-.*: f9401611 ldr x17, \[x16, #40\]
-.*: 9100a210 add x16, x16, #0x28
-.*: d503219f autia1716
-.*: d61f0220 br x17
-.*: d503201f nop
diff --git a/ld/testsuite/ld-aarch64/protections/bti-pac-plt-2.d b/ld/testsuite/ld-aarch64/protections/bti-pac-plt-2.d
deleted file mode 100644
index ed39e21ed8d..00000000000
--- a/ld/testsuite/ld-aarch64/protections/bti-pac-plt-2.d
+++ /dev/null
@@ -1,35 +0,0 @@
-#source: bti-plt-1.s
-#target: [check_shared_lib_support]
-#as: -mabi=lp64
-#ld: -z force-bti -z pac-plt -e _start -T bti-plt.ld -L./tmpdir -lbti-plt-so
-#objdump: -dr -j .plt
-
-[^:]*: *file format elf64-.*aarch64
-
-Disassembly of section \.plt:
-
-[0-9]+ <.*>:
-.*: d503245f bti c
-.*: a9bf7bf0 stp x16, x30, \[sp, #-16\]!
-.*: 90000090 adrp x16, 28000 <_GLOBAL_OFFSET_TABLE_>
-.*: f9400e11 ldr x17, \[x16, #24\]
-.*: 91006210 add x16, x16, #0x18
-.*: d61f0220 br x17
-.*: d503201f nop
-.*: d503201f nop
-
-[0-9]+ <.*>:
-.*: d503245f bti c
-.*: 90000090 adrp x16, 28000 <_GLOBAL_OFFSET_TABLE_>
-.*: f9401211 ldr x17, \[x16, #32\]
-.*: 91008210 add x16, x16, #0x20
-.*: d503219f autia1716
-.*: d61f0220 br x17
-
-[0-9]+ <.*>:
-.*: d503245f bti c
-.*: 90000090 adrp x16, 28000 <_GLOBAL_OFFSET_TABLE_>
-.*: f9401611 ldr x17, \[x16, #40\]
-.*: 9100a210 add x16, x16, #0x28
-.*: d503219f autia1716
-.*: d61f0220 br x17
More information about the Binutils-cvs
mailing list