summaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-tic6x/unwind-3.s
blob: 480ee49d26f54c2e1ed929bc41e3df8681a93f32 (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
30
31
32
33
34
35
36
37
38
39
	.cfi_sections .c6xabi.exidx
	.text
	# section without unwind info
	.global _start
	.type _start, %function
_start:
	b .s2 _before
	nop 5
	.p2align 6

	# Section that will be placed first
	.section .before, "xa"
	.type _before, %function
_before:
	.cfi_startproc
	.cfi_offset B3, 0
	.cfi_def_cfa_offset 8
	nop
	.p2align 6
	.cfi_endproc
	.personalityindex 3
	.endp

	# section that will be placed last
	.section .after, "xa"
	.global __c6xabi_unwind_cpp_pr3
	.type __c6xabi_unwind_cpp_pr3, %function
__c6xabi_unwind_cpp_pr3:
	.cfi_startproc
	.cfi_offset B10, 0
	.cfi_def_cfa_offset 8
	nop
	.p2align 6
	.cfi_endproc
	.personalityindex 3
	.endp

	.section .far
	.word 0