From: Mark Mitchell Date: Mon, 15 Dec 2003 04:47:23 +0000 (+0000) Subject: * gas/arm/thumbv6.s: Add nops. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=5dfd8c03819f6c406dcbbcb96d6d6a17a42c3233;p=binutils-gdb.git * gas/arm/thumbv6.s: Add nops. * gas/arm/thumbv6.d: Use -M force-thumb option to objdump. Add nops. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 5b2d0fcf2f2..7e837390810 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-12-14 Mark Mitchell + + * gas/arm/thumbv6.s: Add nops. + * gas/arm/thumbv6.d: Use -M force-thumb option to objdump. Add nops. + 2003-12-14 Alan Modra * gas/mmix/basep-8.d: Update for lcomm symbol type change. diff --git a/gas/testsuite/gas/arm/thumbv6.d b/gas/testsuite/gas/arm/thumbv6.d index e8f54f5238e..b460d6423fd 100644 --- a/gas/testsuite/gas/arm/thumbv6.d +++ b/gas/testsuite/gas/arm/thumbv6.d @@ -1,6 +1,6 @@ #name: THUMB V6 instructions #as: -march=armv6 -mthumb -#objdump: -dr --prefix-addresses --show-raw-insn +#objdump: -dr --prefix-addresses --show-raw-insn -M force-thumb .*: +file format .*arm.* @@ -17,3 +17,7 @@ Disassembly of section .text: 0+012 <[^>]*> b251 * sxtb r1, r2 0+014 <[^>]*> b2a3 * uxth r3, r4 0+016 <[^>]*> b2f5 * uxtb r5, r6 +0+018 <[^>]*> 46c0 * nop[ ]+\(mov r8, r8\) +0+01a <[^>]*> 46c0 * nop[ ]+\(mov r8, r8\) +0+01c <[^>]*> 46c0 * nop[ ]+\(mov r8, r8\) +0+01e <[^>]*> 46c0 * nop[ ]+\(mov r8, r8\) diff --git a/gas/testsuite/gas/arm/thumbv6.s b/gas/testsuite/gas/arm/thumbv6.s index b02d60c2937..a4049750c1c 100644 --- a/gas/testsuite/gas/arm/thumbv6.s +++ b/gas/testsuite/gas/arm/thumbv6.s @@ -15,3 +15,10 @@ label: sxtb r1, r2 uxth r3, r4 uxtb r5, r6 + + # Add four nop instructions to ensure that the output is + # 32-byte aligned as required for arm-aout. + nop + nop + nop + nop