* gas/arm/thumbv6.s: Add nops.
* gas/arm/thumbv6.d: Use -M force-thumb option to objdump. Add nops.
This commit is contained in:
parent
b1c1720c5d
commit
5dfd8c0381
3 changed files with 17 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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\)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue