forked from len0rd/rockbox
The origin of the register value was never
moved in the desired register state due to a typo ('rhs' vs. 'rhd').
While looking at the code, I noticed the action taken
for the register value is another copy'n'paste error
from the ADD opcode above -> it added to the register value
instead of MOVing the current value.
Patch submitted upstream.
cppcheck reported:
[lib/unwarminder/unwarm_thumb.c:473]: (warning) Redundant assignment of 'state.regData[rhd].o' to itself.
Change-Id: I78cdbf37a191007a3bddbaa350b906dbce2fe671
|
||
|---|---|---|
| .. | ||
| backtrace.c | ||
| backtrace.h | ||
| get_sp.h | ||
| get_sp.S | ||
| safe_read.h | ||
| safe_read.S | ||
| SOURCES | ||
| types.h | ||
| unwarm.c | ||
| unwarm.h | ||
| unwarm_arm.c | ||
| unwarm_thumb.c | ||
| unwarminder.c | ||
| unwarminder.h | ||
| unwarminder.make | ||
| unwarmmem.c | ||
| unwarmmem.h | ||