diff options
author | Alexandre Oliva <aoliva@redhat.com> | 2000-06-20 09:36:12 +0000 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2000-06-20 09:36:12 +0000 |
commit | 611e51e74b38c043777fba1f896c0d77e53de503 (patch) | |
tree | 4f5d45168de191a0ca867d9e947a031d86e63ede /sim/arm | |
parent | 30cc8587b15c373f1c79495446ff16c6ec1c8cfd (diff) | |
download | gdb-611e51e74b38c043777fba1f896c0d77e53de503.tar.gz |
* armemu.h (NEGBRANCH): Do not overwrite the two most significant
bits of the offset.
Diffstat (limited to 'sim/arm')
-rw-r--r-- | sim/arm/ChangeLog | 5 | ||||
-rw-r--r-- | sim/arm/armemu.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog index f7b78956495..a2329be7593 100644 --- a/sim/arm/ChangeLog +++ b/sim/arm/ChangeLog @@ -1,3 +1,8 @@ +2000-06-20 Alexandre Oliva <aoliva@cygnus.com> + + * armemu.h (NEGBRANCH): Do not overwrite the two most significant + bits of the offset. + 2000-05-25 Nick Clifton <nickc@cygnus.com> * armcopro.c (MMUMCR): Only indicate mode change if a singal has diff --git a/sim/arm/armemu.h b/sim/arm/armemu.h index b80c4ef2e70..a51c67ea20f 100644 --- a/sim/arm/armemu.h +++ b/sim/arm/armemu.h @@ -342,7 +342,7 @@ extern ARMword isize; #define STORESMULT(instr,address,wb) StoreSMult(state,instr,address,wb) #define POSBRANCH ((instr & 0x7fffff) << 2) -#define NEGBRANCH (0xff000000 | ((instr & 0xffffff) << 2)) +#define NEGBRANCH (0xfc000000 | ((instr & 0xffffff) << 2)) /***************************************************************************\ * Values for Emulate * |