summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-07-12 08:45:44 +0000
committerNick Clifton <nickc@redhat.com>2011-07-12 08:45:44 +0000
commit44668811c2c4bf92ae485026be150f551f523138 (patch)
tree56913f5bbb98096fdb56b7020b5cf7f23d1a6ddb /opcodes
parentd4026992d904f405e9402c8ddceb9bc10760657e (diff)
downloadbinutils-redhat-44668811c2c4bf92ae485026be150f551f523138.tar.gz
* arm-dis.c (print_insn_arm): Revert previous, undocumented,
accidental change.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/arm-dis.c3
2 files changed, 5 insertions, 3 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 16e907542d..057fccd1c3 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-12 Nick Clifton <nickc@redhat.com>
+
+ * arm-dis.c (print_insn_arm): Revert previous, undocumented,
+ accidental change.
+
2011-07-01 Nick Clifton <nickc@redhat.com>
PR binutils/12329
diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c
index 2e6d4e8ef3..fafa7f6853 100644
--- a/opcodes/arm-dis.c
+++ b/opcodes/arm-dis.c
@@ -2997,9 +2997,6 @@ print_insn_arm (bfd_vma pc, struct disassemble_info *info, long given)
/* PC relative with immediate offset. */
bfd_vma offset = ((given & 0xf00) >> 4) | (given & 0xf);
- if (NEGATIVE_BIT_SET)
- offset = - offset;
-
if (PRE_BIT_SET)
{
/* Elide positive zero offset. */