aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Earnshaw <richard.earnshaw@arm.com>2007-04-19 23:59:45 +0000
committerRichard Earnshaw <richard.earnshaw@arm.com>2007-04-19 23:59:45 +0000
commit90723616dd1ceffee2e4acec261b90c47f8fd064 (patch)
tree7368242ce73ac97b3f1b916b608ca0299ac9a4d5
parent9401f88dfea1492319e34834ea3a6885375fe847 (diff)
downloadgdb-90723616dd1ceffee2e4acec261b90c47f8fd064.zip
gdb-90723616dd1ceffee2e4acec261b90c47f8fd064.tar.gz
gdb-90723616dd1ceffee2e4acec261b90c47f8fd064.tar.bz2
* 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.
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gas/arm/mapshort-eabi.d2
-rw-r--r--gas/testsuite/gas/arm/mapshort-elf.d2
-rw-r--r--gas/testsuite/gas/arm/mapshort.s3
4 files changed, 14 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 10af40c..01713e6 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -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.
diff --git a/gas/testsuite/gas/arm/mapshort-eabi.d b/gas/testsuite/gas/arm/mapshort-eabi.d
index eac8b96..9cbfc3e 100644
--- a/gas/testsuite/gas/arm/mapshort-eabi.d
+++ b/gas/testsuite/gas/arm/mapshort-eabi.d
@@ -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
diff --git a/gas/testsuite/gas/arm/mapshort-elf.d b/gas/testsuite/gas/arm/mapshort-elf.d
index d455231..09602f0 100644
--- a/gas/testsuite/gas/arm/mapshort-elf.d
+++ b/gas/testsuite/gas/arm/mapshort-elf.d
@@ -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:
diff --git a/gas/testsuite/gas/arm/mapshort.s b/gas/testsuite/gas/arm/mapshort.s
index a119447..741cb82 100644
--- a/gas/testsuite/gas/arm/mapshort.s
+++ b/gas/testsuite/gas/arm/mapshort.s
@@ -19,3 +19,6 @@ foo:
.byte 9
bar:
.byte 10
+ .data
+wibble:
+ .word 0