Commit | Line | Data |
---|---|---|
c87e4302 DK |
1 | .syntax unified |
2 | .arch armv5te | |
a60af0db | 3 | .section .text.answer,"ax",%progbits |
c87e4302 DK |
4 | .align 2 |
5 | .global answer | |
6 | .type answer, %function | |
7 | answer: | |
8 | .fnstart | |
a60af0db | 9 | .cantunwind |
c87e4302 DK |
10 | mov r0, #42 |
11 | bx lr | |
12 | .fnend | |
13 | .size answer, .-answer | |
a60af0db DK |
14 | |
15 | # Check that we can handle an empty .text section | |
16 | .section .text.empty,"ax",%progbits | |
17 | .align 2 | |
18 | .global empty | |
19 | .type empty, %function | |
20 | empty: | |
21 | .fnstart | |
22 | .cantunwind | |
23 | .fnend | |
24 | .size empty, .-empty | |
25 | ||
647f1574 DK |
26 | # Check that no dynamic relocations for __exidx_start and __exidx_stop |
27 | # generated. | |
28 | .data | |
29 | .align 12 | |
30 | .word __exidx_start(got) | |
31 | .word __exidx_end(got) |