mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2024-11-27 14:40:28 +00:00
Merge remote-tracking branch 'origin/GP-389_ArmSwitchFixup' into patch
This commit is contained in:
commit
5bffb5c6ed
@ -158,8 +158,7 @@
|
|||||||
tmpptr = lr & 0xfffffffe;
|
tmpptr = lr & 0xfffffffe;
|
||||||
|
|
||||||
offset = *:1 (tmpptr + r0);
|
offset = *:1 (tmpptr + r0);
|
||||||
offset = offset * 2;
|
lr = lr + 2 * zext(offset);
|
||||||
lr = lr + zext(offset);
|
|
||||||
|
|
||||||
ISAModeSwitch = (lr & 1) != 0;
|
ISAModeSwitch = (lr & 1) != 0;
|
||||||
TB = ISAModeSwitch;
|
TB = ISAModeSwitch;
|
||||||
@ -177,8 +176,7 @@
|
|||||||
tmpptr = lr & 0xfffffffe;
|
tmpptr = lr & 0xfffffffe;
|
||||||
|
|
||||||
offset = *:1 (tmpptr + r0);
|
offset = *:1 (tmpptr + r0);
|
||||||
offset = offset * 2;
|
lr = lr + 2 * sext(offset);
|
||||||
lr = lr + sext(offset);
|
|
||||||
|
|
||||||
ISAModeSwitch = (lr & 1) != 0;
|
ISAModeSwitch = (lr & 1) != 0;
|
||||||
TB = ISAModeSwitch;
|
TB = ISAModeSwitch;
|
||||||
@ -197,8 +195,7 @@
|
|||||||
|
|
||||||
index = r0 * 2;
|
index = r0 * 2;
|
||||||
offset = *:2 (tmpptr + index);
|
offset = *:2 (tmpptr + index);
|
||||||
offset = offset * 2;
|
lr = lr + 2 * sext(offset);
|
||||||
lr = lr + sext(offset);
|
|
||||||
|
|
||||||
ISAModeSwitch = (lr & 1) != 0;
|
ISAModeSwitch = (lr & 1) != 0;
|
||||||
TB = ISAModeSwitch;
|
TB = ISAModeSwitch;
|
||||||
@ -217,8 +214,7 @@
|
|||||||
|
|
||||||
index = r0 * 2;
|
index = r0 * 2;
|
||||||
offset = *:2 (tmpptr + index);
|
offset = *:2 (tmpptr + index);
|
||||||
offset = offset * 2;
|
lr = lr + 2 * zext(offset);
|
||||||
lr = lr + zext(offset);
|
|
||||||
|
|
||||||
ISAModeSwitch = (lr & 1) != 0;
|
ISAModeSwitch = (lr & 1) != 0;
|
||||||
TB = ISAModeSwitch;
|
TB = ISAModeSwitch;
|
||||||
|
@ -120,8 +120,7 @@
|
|||||||
tmpptr = lr & 0xfffffffe;
|
tmpptr = lr & 0xfffffffe;
|
||||||
|
|
||||||
offset = *:1 (tmpptr + r0);
|
offset = *:1 (tmpptr + r0);
|
||||||
offset = offset * 2;
|
lr = lr + 2 * zext(offset);
|
||||||
lr = lr + zext(offset);
|
|
||||||
|
|
||||||
ISAModeSwitch = (lr & 1) != 0;
|
ISAModeSwitch = (lr & 1) != 0;
|
||||||
TB = ISAModeSwitch;
|
TB = ISAModeSwitch;
|
||||||
@ -139,8 +138,7 @@
|
|||||||
tmpptr = lr & 0xfffffffe;
|
tmpptr = lr & 0xfffffffe;
|
||||||
|
|
||||||
offset = *:1 (tmpptr + r0);
|
offset = *:1 (tmpptr + r0);
|
||||||
offset = offset * 2;
|
lr = lr + 2 * sext(offset);
|
||||||
lr = lr + sext(offset);
|
|
||||||
|
|
||||||
ISAModeSwitch = (lr & 1) != 0;
|
ISAModeSwitch = (lr & 1) != 0;
|
||||||
TB = ISAModeSwitch;
|
TB = ISAModeSwitch;
|
||||||
@ -159,8 +157,7 @@
|
|||||||
|
|
||||||
index = r0 * 2;
|
index = r0 * 2;
|
||||||
offset = *:2 (tmpptr + index);
|
offset = *:2 (tmpptr + index);
|
||||||
offset = offset * 2;
|
lr = lr + 2 * sext(offset);
|
||||||
lr = lr + sext(offset);
|
|
||||||
|
|
||||||
ISAModeSwitch = (lr & 1) != 0;
|
ISAModeSwitch = (lr & 1) != 0;
|
||||||
TB = ISAModeSwitch;
|
TB = ISAModeSwitch;
|
||||||
@ -179,8 +176,7 @@
|
|||||||
|
|
||||||
index = r0 * 2;
|
index = r0 * 2;
|
||||||
offset = *:2 (tmpptr + index);
|
offset = *:2 (tmpptr + index);
|
||||||
offset = offset * 2;
|
lr = lr + 2 * zext(offset);
|
||||||
lr = lr + zext(offset);
|
|
||||||
|
|
||||||
ISAModeSwitch = (lr & 1) != 0;
|
ISAModeSwitch = (lr & 1) != 0;
|
||||||
TB = ISAModeSwitch;
|
TB = ISAModeSwitch;
|
||||||
|
Loading…
Reference in New Issue
Block a user