From: Nick Clifton Date: Thu, 3 Mar 2005 14:41:35 +0000 (+0000) Subject: * gas/arm/arch6zk.s: Add three nop instructions in order to pad the .text X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f991b11ef809c8cbdc36395d254bc84761d3ce4a;p=binutils-gdb.git * 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. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 6e28dab3705..d705527ca24 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2005-03-03 Nick Clifton + * 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 318e312b665..d4adda6f520 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 cf769be3d75..af57185a466 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