]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - 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
CommitLineData
37c18eed
SD
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
10Disassembly of section \.plt:
11
12[0-9a-f]+ <.*>:
13.*: d503245f bti c
14.*: a9bf7bf0 stp x16, x30, \[sp, #-16\]!
68bb0359 15.*: 90000090 adrp x16, 410000 <.*>
502c7218
AH
16.*: f9...... ldr x17, \[x16, #....\]
17.*: 91...... add x16, x16, #0x...
37c18eed
SD
18.*: d61f0220 br x17
19.*: d503201f nop
20.*: d503201f nop
37c18eed
SD
21
22[0-9a-f]+ <.*>:
23.*: d503245f bti c
68bb0359 24.*: 90000090 adrp x16, 410000 <.*>
502c7218
AH
25.*: f9...... ldr x17, \[x16, #....\]
26.*: 91...... add x16, x16, #0x...
37c18eed 27.*: d61f0220 br x17
68bb0359 28.*: d503201f nop