X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Farm%2Fmapdir.s;fp=gas%2Ftestsuite%2Fgas%2Farm%2Fmapdir.s;h=7260dd054a7f34684818a0e20051b8ee9d90c3cf;hp=0000000000000000000000000000000000000000;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/gas/testsuite/gas/arm/mapdir.s b/gas/testsuite/gas/arm/mapdir.s new file mode 100644 index 0000000..7260dd0 --- /dev/null +++ b/gas/testsuite/gas/arm/mapdir.s @@ -0,0 +1,23 @@ +# Test that .arm / .thumb do not cause mapping symbols to be +# generated. This could lead to duplicate mapping symbols at +# the same address. + + .section .fini_array,"aw",%fini_array + .thumb + .align 2 + .type __do_global_dtors_aux_fini_array_entry, %object +__do_global_dtors_aux_fini_array_entry: + .word __do_global_dtors_aux + + .section .code,"ax",%progbits + .thumb + .arm + nop + +# .bss should not automatically emit $d. + .bss + +# Make sure that mapping symbols are placed in the correct section. + .thumb + .section .tcode,"ax",%progbits + nop