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