The ARM Thumb2 pseudo-instruction
PKHTB<c> <Rd>,<Rm>,<Rn>
should be assembled through
PKHBT<c> <Rd>,<Rm>,<Rn>
but is instead assembled through
PKHBT<c> <Rd>,<Rn>,<Rm>
For example:
$ echo ".code 16 pkhtb r1,r2,r3" | arm-elf-as -aln -EB -o /dev/null
1 0000 EAC20103 .code 16 pkhtb r1,r2,r3
$ echo ".code 16 pkhbt r1,r2,r3" | arm-elf-as -aln -EB -o /dev/null
1 0000 EAC20103 .code 16 pkhbt r1,r2,r3
--
Summary: Wrong machine code for Thumb2 instruction PKHTB
Product: binutils
Version: 2.19
Status: NEW
Severity: normal
Priority: P3
Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: anthony dot fox at cl dot cam dot ac dot uk
CC: bug-binutils at gnu dot org
GCC host triplet: i386-redhat-linux
GCC target triplet: arm-elf
http://sourceware.org/bugzilla/show_bug.cgi?id=10168
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils