summaryrefslogtreecommitdiff
path: root/gold/testsuite/arm_exidx_test.s
blob: 14dcc9414f8536e740ae412ee33b9d8274bdde51 (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
	.syntax unified	
	.arch	armv5te
	.section        .text.answer,"ax",%progbits
	.align	2
	.global	answer
	.type	answer, %function
answer:
	.fnstart
        .cantunwind
	mov	r0, #42
	bx	lr
	.fnend
	.size	answer, .-answer

# Check that we can handle an empty .text section
	.section        .text.empty,"ax",%progbits
	.align	2
        .global empty
        .type   empty, %function
empty:
        .fnstart
        .cantunwind
        .fnend
        .size   empty, .-empty