]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - ld/testsuite/ld-aarch64/bti-plt-5.d
Fix AArch64 linker testsuite failures trigeered by differences in build environments.
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-aarch64 / bti-plt-5.d
1 #name: BTI PLT with only GNU PROP
2 #source: property-bti-pac1.s
3 #as: -mabi=lp64 -defsym __property_bti__=1
4 #ld: -e _start -L./tmpdir -lbti-plt-so
5 #objdump: -dr -j .plt
6 #target: *linux*
7
8 [^:]*: *file format elf64-.*aarch64
9
10 Disassembly of section \.plt:
11
12 [0-9a-f]+ <.*>:
13 .*: d503245f bti c
14 .*: a9bf7bf0 stp x16, x30, \[sp, #-16\]!
15 .*: 90000090 adrp x16, 410000 <.*>
16 .*: f9...... ldr x17, \[x16, #....\]
17 .*: 91...... add x16, x16, #0x...
18 .*: d61f0220 br x17
19 .*: d503201f nop
20 .*: d503201f nop
21
22 [0-9a-f]+ <.*>:
23 .*: d503245f bti c
24 .*: 90000090 adrp x16, 410000 <.*>
25 .*: f9...... ldr x17, \[x16, #....\]
26 .*: 91...... add x16, x16, #0x...
27 .*: d61f0220 br x17
28 .*: d503201f nop