aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2005-03-03 14:41:35 +0000
committerNick Clifton <nickc@redhat.com>2005-03-03 14:41:35 +0000
commitf991b11ef809c8cbdc36395d254bc84761d3ce4a (patch)
tree9e0fa7935975282b9fb38d26b5168803eee2cb7b /gas
parent77ccfee5d29b979b4edf12310a112167f8986df7 (diff)
downloadgdb-f991b11ef809c8cbdc36395d254bc84761d3ce4a.zip
gdb-f991b11ef809c8cbdc36395d254bc84761d3ce4a.tar.gz
gdb-f991b11ef809c8cbdc36395d254bc84761d3ce4a.tar.bz2
* gas/arm/arch6zk.s: Add three nop instructions in order to pad the .text
section out to a 32-byte boundary as will automatically be done by the arm-aout target. * gas/arm/arch6zk.d: Add expected nop disassemblies.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/arm/arch6zk.d4
-rw-r--r--gas/testsuite/gas/arm/arch6zk.s6
3 files changed, 15 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 6e28dab..d705527 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,5 +1,10 @@
2005-03-03 Nick Clifton <nickc@redhat.com>
+ * gas/arm/arch6zk.s: Add three nop instructions in order to pad
+ the .text section out to a 32-byte boundary as will automatically
+ be done by the arm-aout target.
+ * gas/arm/arch6zk.d: Add expected nop disassemblies.
+
* gas/d30v/serial.l: Remove listing lines that are no longer
emitted and fix up expected binary encoding.
* gas/d30v/serial2.l: Likewise.
diff --git a/gas/testsuite/gas/arm/arch6zk.d b/gas/testsuite/gas/arm/arch6zk.d
index 318e312..d4adda6 100644
--- a/gas/testsuite/gas/arm/arch6zk.d
+++ b/gas/testsuite/gas/arm/arch6zk.d
@@ -26,3 +26,7 @@ Disassembly of section .text:
0+048 <[^>]*> e320f001 ? yield
0+04c <[^>]*> e16ec371 ? smi 60465
0+050 <[^>]*> 11613c7e ? smine 5070
+0+054 <[^>]*> e1a00000 ? nop[ ]+\(mov r0,r0\)
+0+058 <[^>]*> e1a00000 ? nop[ ]+\(mov r0,r0\)
+0+05c <[^>]*> e1a00000 ? nop[ ]+\(mov r0,r0\)
+
diff --git a/gas/testsuite/gas/arm/arch6zk.s b/gas/testsuite/gas/arm/arch6zk.s
index cf769be..af57185 100644
--- a/gas/testsuite/gas/arm/arch6zk.s
+++ b/gas/testsuite/gas/arm/arch6zk.s
@@ -25,3 +25,9 @@ label:
# ARMV6Z instructions
smi 0xec31
smine 0x13ce
+
+ # Add three nop instructions to ensure that the
+ # output is 32-byte aligned as required for arm-aout.
+ nop
+ nop
+ nop