diff options
Diffstat (limited to 'ld/testsuite/ld-aarch64')
-rw-r--r-- | ld/testsuite/ld-aarch64/bti-pac-plt-1.d | 4 | ||||
-rw-r--r-- | ld/testsuite/ld-aarch64/bti-pac-plt-2.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-aarch64/bti-plt-1.d | 1 | ||||
-rw-r--r-- | ld/testsuite/ld-aarch64/bti-plt-3.d | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-aarch64/bti-plt-5.d | 6 | ||||
-rw-r--r-- | ld/testsuite/ld-aarch64/pac-plt-1.d | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-aarch64/pac-plt-2.d | 6 |
7 files changed, 12 insertions, 13 deletions
diff --git a/ld/testsuite/ld-aarch64/bti-pac-plt-1.d b/ld/testsuite/ld-aarch64/bti-pac-plt-1.d index 8d780ca8a49..1ac280665e7 100644 --- a/ld/testsuite/ld-aarch64/bti-pac-plt-1.d +++ b/ld/testsuite/ld-aarch64/bti-pac-plt-1.d @@ -13,11 +13,9 @@ Disassembly of section \.plt: .*: 90000090 adrp x16, 28000 <_GLOBAL_OFFSET_TABLE_> .*: f9400e11 ldr x17, \[x16, #24\] .*: 91006210 add x16, x16, #0x18 -.*: d503219f autia1716 .*: d61f0220 br x17 .*: d503201f nop .*: d503201f nop -.*: d503201f nop [0-9a-f]+ <.*>: .*: 90000090 adrp x16, 28000 <_GLOBAL_OFFSET_TABLE_> @@ -25,6 +23,7 @@ Disassembly of section \.plt: .*: 91008210 add x16, x16, #0x20 .*: d503219f autia1716 .*: d61f0220 br x17 +.*: d503201f nop [0-9a-f]+ <.*>: .*: 90000090 adrp x16, 28000 <_GLOBAL_OFFSET_TABLE_> @@ -32,3 +31,4 @@ Disassembly of section \.plt: .*: 9100a210 add x16, x16, #0x28 .*: d503219f autia1716 .*: d61f0220 br x17 +.*: d503201f nop diff --git a/ld/testsuite/ld-aarch64/bti-pac-plt-2.d b/ld/testsuite/ld-aarch64/bti-pac-plt-2.d index d1264ea000a..e0ac1df1a57 100644 --- a/ld/testsuite/ld-aarch64/bti-pac-plt-2.d +++ b/ld/testsuite/ld-aarch64/bti-pac-plt-2.d @@ -13,11 +13,9 @@ Disassembly of section \.plt: .*: 90000090 adrp x16, 28000 <_GLOBAL_OFFSET_TABLE_> .*: f9400e11 ldr x17, \[x16, #24\] .*: 91006210 add x16, x16, #0x18 -.*: d503219f autia1716 .*: d61f0220 br x17 .*: d503201f nop .*: d503201f nop -.*: d503201f nop [0-9]+ <.*>: .*: d503245f bti c diff --git a/ld/testsuite/ld-aarch64/bti-plt-1.d b/ld/testsuite/ld-aarch64/bti-plt-1.d index b7b58a8844c..618a6a9c153 100644 --- a/ld/testsuite/ld-aarch64/bti-plt-1.d +++ b/ld/testsuite/ld-aarch64/bti-plt-1.d @@ -17,7 +17,6 @@ Disassembly of section \.plt: .*: d61f0220 br x17 .*: d503201f nop .*: d503201f nop -.*: d503201f nop [0-9]+ <.*>: .*: 90000090 adrp x16, 28000 <_GLOBAL_OFFSET_TABLE_> diff --git a/ld/testsuite/ld-aarch64/bti-plt-3.d b/ld/testsuite/ld-aarch64/bti-plt-3.d index 0d4c467db84..08914deb875 100644 --- a/ld/testsuite/ld-aarch64/bti-plt-3.d +++ b/ld/testsuite/ld-aarch64/bti-plt-3.d @@ -17,7 +17,6 @@ Disassembly of section \.plt: .*: d61f0220 br x17 .*: d503201f nop .*: d503201f nop -.*: d503201f nop [0-9]+ <.*>: .*: d503245f bti c @@ -25,6 +24,7 @@ Disassembly of section \.plt: .*: f9401211 ldr x17, \[x16, #32\] .*: 91008210 add x16, x16, #0x20 .*: d61f0220 br x17 +.*: d503201f nop [0-9]+ <.*>: .*: d503245f bti c @@ -32,3 +32,4 @@ Disassembly of section \.plt: .*: f9401611 ldr x17, \[x16, #40\] .*: 9100a210 add x16, x16, #0x28 .*: d61f0220 br x17 +.*: d503201f nop diff --git a/ld/testsuite/ld-aarch64/bti-plt-5.d b/ld/testsuite/ld-aarch64/bti-plt-5.d index 01231b69d2c..12abbc2e055 100644 --- a/ld/testsuite/ld-aarch64/bti-plt-5.d +++ b/ld/testsuite/ld-aarch64/bti-plt-5.d @@ -12,17 +12,17 @@ Disassembly of section \.plt: [0-9a-f]+ <.*>: .*: d503245f bti c .*: a9bf7bf0 stp x16, x30, \[sp, #-16\]! -.*: 90000090 adrp x16, 410000 <_start\+0xfd28> +.*: 90000090 adrp x16, 410000 <.*> .*: f9421611 ldr x17, \[x16, #1064\] .*: 9110a210 add x16, x16, #0x428 .*: d61f0220 br x17 .*: d503201f nop .*: d503201f nop -.*: d503201f nop [0-9a-f]+ <.*>: .*: d503245f bti c -.*: 90000090 adrp x16, 410000 <_start\+0xfd28> +.*: 90000090 adrp x16, 410000 <.*> .*: f9421a11 ldr x17, \[x16, #1072\] .*: 9110c210 add x16, x16, #0x430 .*: d61f0220 br x17 +.*: d503201f nop diff --git a/ld/testsuite/ld-aarch64/pac-plt-1.d b/ld/testsuite/ld-aarch64/pac-plt-1.d index 47be9491b6a..9c4a676cf8f 100644 --- a/ld/testsuite/ld-aarch64/pac-plt-1.d +++ b/ld/testsuite/ld-aarch64/pac-plt-1.d @@ -12,7 +12,6 @@ Disassembly of section \.plt: .*: 90000090 adrp x16, 28000 <_GLOBAL_OFFSET_TABLE_> .*: f9400e11 ldr x17, \[x16, #24\] .*: 91006210 add x16, x16, #0x18 -.*: d503219f autia1716 .*: d61f0220 br x17 .*: d503201f nop .*: d503201f nop @@ -24,6 +23,7 @@ Disassembly of section \.plt: .*: 91008210 add x16, x16, #0x20 .*: d503219f autia1716 .*: d61f0220 br x17 +.*: d503201f nop [0-9]+ <.*>: .*: 90000090 adrp x16, 28000 <_GLOBAL_OFFSET_TABLE_> @@ -31,3 +31,4 @@ Disassembly of section \.plt: .*: 9100a210 add x16, x16, #0x28 .*: d503219f autia1716 .*: d61f0220 br x17 +.*: d503201f nop diff --git a/ld/testsuite/ld-aarch64/pac-plt-2.d b/ld/testsuite/ld-aarch64/pac-plt-2.d index 42bfdca6218..7ebc81d7f7d 100644 --- a/ld/testsuite/ld-aarch64/pac-plt-2.d +++ b/ld/testsuite/ld-aarch64/pac-plt-2.d @@ -4,21 +4,21 @@ #... Disassembly of section .plt: -0000000000018000 \<.plt\>: +.* \<.plt\>: .*: a9bf7bf0 stp x16, x30, \[sp, #-16\]! .*: 90000090 adrp x16, 28000 <_GLOBAL_OFFSET_TABLE_> .*: f9401a11 ldr x17, \[x16, #48\] .*: 9100c210 add x16, x16, #0x30 -.*: d503219f autia1716 .*: d61f0220 br x17 .*: d503201f nop .*: d503201f nop .*: d503201f nop -0000000000018024 \<__tls_get_addr@plt\>: +.* \<__tls_get_addr@plt\>: .*: 90000090 adrp x16, 28000 <_GLOBAL_OFFSET_TABLE_> .*: f9401e11 ldr x17, \[x16, #56\] .*: 9100e210 add x16, x16, #0x38 .*: d503219f autia1716 .*: d61f0220 br x17 +.*: d503201f nop |