|
@@ -451,9 +451,11 @@ __und_usr_thumb:
|
|
|
.arch armv6t2
|
|
|
#endif
|
|
|
2: ldrht r5, [r4]
|
|
|
+ARM_BE8(rev16 r5, r5) @ little endian instruction
|
|
|
cmp r5, #0xe800 @ 32bit instruction if xx != 0
|
|
|
blo __und_usr_fault_16 @ 16bit undefined instruction
|
|
|
3: ldrht r0, [r2]
|
|
|
+ARM_BE8(rev16 r0, r0) @ little endian instruction
|
|
|
add r2, r2, #2 @ r2 is PC + 2, make it PC + 4
|
|
|
str r2, [sp, #S_PC] @ it's a 2x16bit instr, update
|
|
|
orr r0, r0, r5, lsl #16
|