aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/scfi/aarch64/ginsn-cofi-1.s
blob: bbcbe4e02a45678167b2f7754218c5c92de12f49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Testcase for a variety of change of flow instructions
# Because some of these are indirect branches, SCFI will bail out
# with an error.  This test merely checks that the ginsn creation
# process can handle these insns gracefully.
	.text
	.align  2
	.global foo
	.type   foo, %function
foo:
	bl      dump_bt
	b       .L3
	br      x17
.L3:
	blr     x3
	ret
	.size   foo, .-foo