Upload Tizen:Base source
[external/binutils.git] / ld / testsuite / ld-arm / gc-unwind.s
1 @ Test -gc-sections and unwinding tables.  .data.eh should be pulled in
2 @ via the EH tables, .data.foo should not.
3 .text
4 .global _start
5 .fnstart
6 _start:
7 bx lr
8 .personality my_pr
9 .handlerdata
10 .word 0
11 .fnend
12
13 .section .data.foo
14 my_foo:
15 .word 0x11111111
16
17 .section .text.foo
18 .fnstart
19 foo:
20 bx lr
21 .personality my_pr
22 .handlerdata
23 .word my_foo
24 .fnend
25
26 .section .data.eh
27 my_eh:
28 .word 0x22222222
29
30 .section .text.eh
31 .fnstart
32 my_pr:
33 bx lr
34 .personality my_pr
35 .handlerdata
36 .word my_eh
37 .fnend
38