mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 22:07:58 +08:00
PR 10168
* config/tc-arm.c (do_t_pkhtb): Swap Rm and Rn when encoding as PKHBT. * gas/arm/thumb32.d: Fix expected disassembly of PKHTB insn.
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2009-07-01 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR 10168
|
||||
* config/tc-arm.c (do_t_pkhtb): Swap Rm and Rn when encoding as
|
||||
PKHBT.
|
||||
|
||||
2009-07-01 Paul Brook <paul@codesourcery.com>
|
||||
|
||||
* config/tc-arm.c (MISSING_FNSTART): Define.
|
||||
|
@ -10479,7 +10479,16 @@ static void
|
||||
do_t_pkhtb (void)
|
||||
{
|
||||
if (!inst.operands[3].present)
|
||||
{
|
||||
unsigned Rtmp;
|
||||
|
||||
inst.instruction &= ~0x00000020;
|
||||
|
||||
/* PR 10168. Swap the Rm and Rn registers. */
|
||||
Rtmp = inst.operands[1].reg;
|
||||
inst.operands[1].reg = inst.operands[2].reg;
|
||||
inst.operands[2].reg = Rtmp;
|
||||
}
|
||||
do_t_pkhbt ();
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,8 @@
|
||||
2009-07-01 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR 10168
|
||||
* gas/arm/thumb32.d: Fix expected disassembly of PKHTB insn.
|
||||
|
||||
2009-07-01 Paul Brook <paul@codesourcery.com>
|
||||
|
||||
* gas/arm/fp-save.s: Add .fnstart and .fnend directives.
|
||||
|
@ -687,7 +687,7 @@ Disassembly of section .text:
|
||||
0[0-9a-f]+ <[^>]+> eac0 0009 pkhbt r0, r0, r9
|
||||
0[0-9a-f]+ <[^>]+> eac0 5000 pkhbt r0, r0, r0, lsl #20
|
||||
0[0-9a-f]+ <[^>]+> eac0 00c0 pkhbt r0, r0, r0, lsl #3
|
||||
0[0-9a-f]+ <[^>]+> eac2 0103 pkhbt r1, r2, r3
|
||||
0[0-9a-f]+ <[^>]+> eac3 0102 pkhbt r1, r3, r2
|
||||
0[0-9a-f]+ <[^>]+> eac2 4163 pkhtb r1, r2, r3, asr #17
|
||||
0[0-9a-f]+ <[^>]+> b401 push \{r0\}
|
||||
0[0-9a-f]+ <[^>]+> bc01 pop \{r0\}
|
||||
|
Reference in New Issue
Block a user