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\]!
15.*:	90000090 	adrp	x16, 410000 <.*>
16.*:	f9421611 	ldr	x17, \[x16, #1064\]
17.*:	9110a210 	add	x16, x16, #0x428
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.*:	f9421a11 	ldr	x17, \[x16, #1072\]
26.*:	9110c210 	add	x16, x16, #0x430
27.*:	d61f0220 	br	x17
28.*:	d503201f 	nop
29