aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/unwind-3.s
blob: 9cd8514acbf46bca7482eb6671452697ce105e90 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
	.syntax unified
	.text
	@ section without unwind info
	.global _start
	.type _start, %function
_start:
	bl _before

	@ Section that will be placed first
	.section .before, "xa"
	.type _before, %function
_before:
	.fnstart
	.save {r4, lr}
	bx lr
	.fnend

	@ section that will be placed last
	.section .after, "xa"
	.global __aeabi_unwind_cpp_pr0
	.type __aeabi_unwind_cpp_pr0, %function
__aeabi_unwind_cpp_pr0:
	.fnstart
	.save {r4, lr}
	bx lr
	.fnend

	.section .far
	.word 0