aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-07-12 08:45:45 +0000
committerNick Clifton <nickc@redhat.com>2011-07-12 08:45:45 +0000
commit1b93226d6365b7447bbf76aa21db61326fb63851 (patch)
treeeedc8022d332ccf6a811cc8f66ae0de12512fc7d
parentb76e66d3ba4d17fb1a71e0c83d8c3d59a16c2681 (diff)
downloadgdb-1b93226d6365b7447bbf76aa21db61326fb63851.zip
gdb-1b93226d6365b7447bbf76aa21db61326fb63851.tar.gz
gdb-1b93226d6365b7447bbf76aa21db61326fb63851.tar.bz2
* arm-dis.c (print_insn_arm): Revert previous, undocumented,
accidental change.
-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 16e9075..057fccd 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 2e6d4e8..fafa7f6 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. */