aarch64 and arm testsuite fixes for targets lacking shared libs
[deliverable/binutils-gdb.git] / ld / testsuite / ld-aarch64 / bti-plt-1.d
CommitLineData
8bf6d176 1#name: Check -z force-bti emits BTI PLT (shared)
37c18eed 2#source: bti-plt-1.s
3c3358ca 3#target: [check_shared_lib_support]
37c18eed 4#as: -mabi=lp64
8bf6d176 5#ld: -shared -z force-bti -T bti-plt.ld
37c18eed
SD
6#objdump: -dr -j .plt
7
8[^:]*: *file format elf64-.*aarch64
9
10Disassembly 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
37c18eed
SD
21
22[0-9]+ <.*>:
23.*: 90000090 adrp x16, 28000 <_GLOBAL_OFFSET_TABLE_>
24.*: f9401211 ldr x17, \[x16, #32\]
25.*: 91008210 add x16, x16, #0x20
26.*: d61f0220 br x17
27
28[0-9]+ <.*>:
29.*: 90000090 adrp x16, 28000 <_GLOBAL_OFFSET_TABLE_>
30.*: f9401611 ldr x17, \[x16, #40\]
31.*: 9100a210 add x16, x16, #0x28
32.*: d61f0220 br x17
This page took 0.055579 seconds and 4 git commands to generate.