[BFD, AArch64] Improve bti/pac plts.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-aarch64 / bti-pac-plt-2.d
1 #source: bti-plt-1.s
2 #as: -mabi=lp64
3 #ld: --force-bti --pac-plt -e _start -T bti-plt.ld -L./tmpdir -lbti-plt-so
4 #objdump: -dr -j .plt
5
6 [^:]*: *file format elf64-.*aarch64
7
8 Disassembly of section \.plt:
9
10 [0-9]+ <.*>:
11 .*: d503245f bti c
12 .*: a9bf7bf0 stp x16, x30, \[sp, #-16\]!
13 .*: 90000090 adrp x16, 28000 <_GLOBAL_OFFSET_TABLE_>
14 .*: f9400e11 ldr x17, \[x16, #24\]
15 .*: 91006210 add x16, x16, #0x18
16 .*: d61f0220 br x17
17 .*: d503201f nop
18 .*: d503201f nop
19
20 [0-9]+ <.*>:
21 .*: d503245f bti c
22 .*: 90000090 adrp x16, 28000 <_GLOBAL_OFFSET_TABLE_>
23 .*: f9401211 ldr x17, \[x16, #32\]
24 .*: 91008210 add x16, x16, #0x20
25 .*: d503219f autia1716
26 .*: d61f0220 br x17
27
28 [0-9]+ <.*>:
29 .*: d503245f bti c
30 .*: 90000090 adrp x16, 28000 <_GLOBAL_OFFSET_TABLE_>
31 .*: f9401611 ldr x17, \[x16, #40\]
32 .*: 9100a210 add x16, x16, #0x28
33 .*: d503219f autia1716
34 .*: d61f0220 br x17
This page took 0.030126 seconds and 4 git commands to generate.