binutils-gdb/ld/testsuite/ld-aarch64/bti-far-opt.s

54 lines
606 B
ArmAsm
Raw Normal View History

.text
.global _start
.type _start, %function
_start:
bl foo
bl bar
bl baz
baz:
nop
baz_bti_:
bti
baz_bti_c:
bti c
baz_bti_j:
bti j
baz_bti_jc:
bti jc
baz_paciasp:
paciasp
baz_pacibsp:
pacibsp
.section .far,"ax",@progbits
.global foo
.type foo, %function
foo:
bl baz
bl baz_bti_
bl baz_bti_c
bl baz_bti_j
bl baz_bti_jc
bl baz_paciasp
bl baz_pacibsp
bar:
b foo
b baz
b baz_bti_
b baz_bti_c
b baz_bti_j
b baz_bti_jc
b baz_paciasp
b baz_pacibsp
.section .note.gnu.property,"a"
.align 3
.word 4
.word 16
.word 5
.string "GNU"
.word 0xc0000000
.word 4
.word 1
.align 3