From 99f9b2d2bf6b9525b689cd9916f9cc3fbac37055 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Thu, 3 Mar 2005 14:41:35 +0000 Subject: [PATCH] * 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/testsuite/ChangeLog | 5 +++++ gas/testsuite/gas/arm/arch6zk.d | 4 ++++ gas/testsuite/gas/arm/arch6zk.s | 6 ++++++ 3 files changed, 15 insertions(+) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 6e28dab37..d705527ca 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 318e312b6..d4adda6f5 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 cf769be3d..af57185a4 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 -- 2.11.4.GIT