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