Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / arm / mapdir.s
1 # Test that .arm / .thumb do not cause mapping symbols to be
2 # generated.  This could lead to duplicate mapping symbols at
3 # the same address.
4
5         .section .fini_array
6         .thumb
7         .align  2
8         .type   __do_global_dtors_aux_fini_array_entry, %object
9 __do_global_dtors_aux_fini_array_entry:
10         .word   __do_global_dtors_aux
11
12         .section .code,"ax",%progbits
13         .thumb
14         .arm
15         nop
16
17 # .bss should not automatically emit $d.
18         .bss
19
20 # Make sure that mapping symbols are placed in the correct section.
21         .thumb
22         .section .tcode,"ax",%progbits
23         nop