mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
ARM unwinder for thumb: Fix broken SUB opcode
Detected while looking through the code. Patch submitted upstream. Change-Id: I7ebe7b5f5947cf3df1b054d545dba92829f21b99
This commit is contained in:
parent
fa592cc725
commit
7361a433d0
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ UnwResult UnwStartThumb(UnwState * const state)
|
||||||
case 3: /* SUB */
|
case 3: /* SUB */
|
||||||
UnwPrintd5("SUB r%d, #0x%d\t; r%d %s",
|
UnwPrintd5("SUB r%d, #0x%d\t; r%d %s",
|
||||||
rd, offset8, rd, M_Origin2Str(state->regData[rd].o));
|
rd, offset8, rd, M_Origin2Str(state->regData[rd].o));
|
||||||
state->regData[rd].v += offset8;
|
state->regData[rd].v -= offset8;
|
||||||
state->regData[rd].o |= REG_VAL_ARITHMETIC;
|
state->regData[rd].o |= REG_VAL_ARITHMETIC;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue