ARM/opcodes: Fix negative hexadecimal offset disassembly
authorMaciej W. Rozycki <macro@codesourcery.com>
Fri, 22 Aug 2014 15:42:12 +0000 (16:42 +0100)
committerMaciej W. Rozycki <macro@codesourcery.com>
Fri, 22 Aug 2014 15:42:12 +0000 (16:42 +0100)
commit84919466a87f5ce10cc1af8ef51d7ab9ea66ff5e
tree28d6b6c7d4aa019e1deae4046b560796a0d7c9c3
parente56c722b60c67fe915c22970a5e669a723fa1ce9
ARM/opcodes: Fix negative hexadecimal offset disassembly

2014-08-21  Nathan Sidwell  <nathan@codesourcery.com>
            Maciej W. Rozycki  <macro@codesourcery.com>

opcodes/
* arm-dis.c (print_arm_address): Negate the GPR-relative offset
returned if the U bit is set.

2014-08-21  Paul Brook  <paul@codesourcery.com>

gas/testsuite/
* gas/arm/arch7a-mp.d: Adjust according to `print_arm_address'
offset fix.
* gas/arm/arch7r-mp.d: Likewise.
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/arch7a-mp.d
gas/testsuite/gas/arm/arch7r-mp.d
opcodes/ChangeLog
opcodes/arm-dis.c