aboutsummaryrefslogtreecommitdiff
path: root/sim/arm/armemu.h
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2000-06-20 09:36:12 +0000
committerAlexandre Oliva <aoliva@redhat.com>2000-06-20 09:36:12 +0000
commitfe47e8dfd322a49e77444d51c1b82294e7093341 (patch)
treeeed38f54edbe7ffef82bc64b663e6892d6d48eb1 /sim/arm/armemu.h
parentf6dd1e7029438862d587e1fca38f701e775736c1 (diff)
downloadgdb-fe47e8dfd322a49e77444d51c1b82294e7093341.zip
gdb-fe47e8dfd322a49e77444d51c1b82294e7093341.tar.gz
gdb-fe47e8dfd322a49e77444d51c1b82294e7093341.tar.bz2
* armemu.h (NEGBRANCH): Do not overwrite the two most significant
bits of the offset.
Diffstat (limited to 'sim/arm/armemu.h')
-rw-r--r--sim/arm/armemu.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/arm/armemu.h b/sim/arm/armemu.h
index b80c4ef..a51c67e 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 *