Do not enable alignment checking when loading unaligned thumb instructions.
This commit is contained in:
parent
8e2eec6299
commit
3cf84db9ef
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2001-03-20 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* armvirt.c (ARMul_ReLoadInstr): Do not enable alignment checking
|
||||||
|
when loading unaligned thumb instructions.
|
||||||
|
|
||||||
2001-03-06 Nick Clifton <nickc@redhat.com>
|
2001-03-06 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* thumbemu.c (ARMul_ThumbDecode): Delete label bo_blx2.
|
* thumbemu.c (ARMul_ThumbDecode): Delete label bo_blx2.
|
||||||
|
|
|
@ -192,8 +192,8 @@ ARMul_ReLoadInstr (ARMul_State * state, ARMword address, ARMword isize)
|
||||||
if ((isize == 2) && (address & 0x2))
|
if ((isize == 2) && (address & 0x2))
|
||||||
{
|
{
|
||||||
/* We return the next two halfwords: */
|
/* We return the next two halfwords: */
|
||||||
ARMword lo = GetWord (state, address, TRUE);
|
ARMword lo = GetWord (state, address, FALSE);
|
||||||
ARMword hi = GetWord (state, address + 4, TRUE);
|
ARMword hi = GetWord (state, address + 4, FALSE);
|
||||||
|
|
||||||
if (state->bigendSig == HIGH)
|
if (state->bigendSig == HIGH)
|
||||||
return (lo << 16) | (hi >> 16);
|
return (lo << 16) | (hi >> 16);
|
||||||
|
|
Loading…
Add table
Reference in a new issue