* 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.
This commit is contained in:
Richard Earnshaw 2007-04-19 23:59:45 +00:00
parent 9401f88dfe
commit 90723616dd
4 changed files with 14 additions and 0 deletions

View 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.

View 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

View 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:

View File

@ -19,3 +19,6 @@ foo:
.byte 9
bar:
.byte 10
.data
wibble:
.word 0