diff options
author | Mark Mitchell <mark@codesourcery.com> | 2003-12-15 04:47:23 +0000 |
---|---|---|
committer | Mark Mitchell <mark@codesourcery.com> | 2003-12-15 04:47:23 +0000 |
commit | 5dfd8c03819f6c406dcbbcb96d6d6a17a42c3233 (patch) | |
tree | adb70c73bcdbe187a511e2e1898cecf0a18b59e2 /gas | |
parent | b1c1720c5dd6a07fb034ef54fcee49b9261ab64d (diff) | |
download | gdb-5dfd8c03819f6c406dcbbcb96d6d6a17a42c3233.zip gdb-5dfd8c03819f6c406dcbbcb96d6d6a17a42c3233.tar.gz gdb-5dfd8c03819f6c406dcbbcb96d6d6a17a42c3233.tar.bz2 |
* gas/arm/thumbv6.s: Add nops.
* gas/arm/thumbv6.d: Use -M force-thumb option to objdump. Add nops.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/thumbv6.d | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/thumbv6.s | 7 |
3 files changed, 17 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 5b2d0fc..7e83739 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2003-12-14 Mark Mitchell <mark@codesourcery.com> + + * gas/arm/thumbv6.s: Add nops. + * gas/arm/thumbv6.d: Use -M force-thumb option to objdump. Add nops. + 2003-12-14 Alan Modra <amodra@bigpond.net.au> * 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 e8f54f5..b460d64 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 b02d60c..a404975 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 |