* gas/arm/mapshort.s: Add a small .data section.
authorRichard Earnshaw <richard.earnshaw@arm.com>
Thu, 19 Apr 2007 23:59:45 +0000 (23:59 +0000)
committerRichard Earnshaw <richard.earnshaw@arm.com>
Thu, 19 Apr 2007 23:59:45 +0000 (23:59 +0000)
* gas/arm/mapshort-eabi.d: Check the data section doesn't confuse
disassembly.
* gas/arm/mapshort-elf.d: Likewise.

gas/testsuite/ChangeLog
gas/testsuite/gas/arm/mapshort-eabi.d
gas/testsuite/gas/arm/mapshort-elf.d
gas/testsuite/gas/arm/mapshort.s

index 10af40ceaf2f5e73965471d0dea5a372be0b729a..01713e63302ee25598e79900514fd1c8e3ba120e 100644 (file)
@@ -1,3 +1,10 @@
+2007-04-20  Richard Earnshaw  <rearnsha@arm.com>
+
+       * gas/arm/mapshort.s: Add a small .data section.
+       * gas/arm/mapshort-eabi.d: Check the data section doesn't confuse
+       disassembly.
+       * gas/arm/mapshort-elf.d: Likewise.
+
 2007-04-19  Paul Brook  <paul@codesourcery.com>
 
        * gas/arm/thumb1_unified.d: New test.
index eac8b967bdfb4ed2b830860f3aa1b59d2c5bf37b..9cbfc3eacd4a23137cbaf7636fcfaf7afc2d00bb 100644 (file)
@@ -21,6 +21,8 @@ SYMBOL TABLE:
 0+18 l       .text     00000000 \$a
 0+1c l       .text     00000000 \$d
 0+1f l       .text     00000000 bar
+0+00 l       .data     00000000 wibble
+0+00 l       .data     00000000 \$d
 0+00 l    d  .ARM.attributes   00000000 .ARM.attributes
 
 
index d4552311eb12eebd324f4f338f0f7892cf12fad9..09602f08091edf1252006311d6d9f16fc2258ff2 100644 (file)
@@ -21,6 +21,8 @@ SYMBOL TABLE:
 0+18 l       .text     00000000 \$a
 0+1c l       .text     00000000 \$d
 0+1f l       .text     00000000 bar
+0+00 l       .data     00000000 wibble
+0+00 l       .data     00000000 \$d
 # The ELF based port does not generate a .ARM.attributes symbol
 
 Disassembly of section .text:
index a11944726b8a252d7069696d6c62258b6d34f824..741cb82510531845fa85792054cc948f85580cc0 100644 (file)
@@ -19,3 +19,6 @@ foo:
        .byte 9
 bar:
        .byte 10
+       .data
+wibble:
+       .word 0