diff options
author | Julian Brown <julian@codesourcery.com> | 2006-08-18 10:30:35 +0000 |
---|---|---|
committer | Julian Brown <julian@codesourcery.com> | 2006-08-18 10:30:35 +0000 |
commit | e097f4bae1257c57c54b4bb215ea23833b258704 (patch) | |
tree | b5ff9d9c2860be417a93b09dcc46331f1ca73ac0 | |
parent | 74bac592bed9f45d266d555d1d8ec90ea09cfd1a (diff) | |
download | gdb-e097f4bae1257c57c54b4bb215ea23833b258704.tar.gz |
* arm-dis.c (print_insn_neon): Disassemble 32-bit immediates as
signed on 64-bit hosts.
-rw-r--r-- | ChangeLog.csl | 6 | ||||
-rw-r--r-- | opcodes/arm-dis.c | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog.csl b/ChangeLog.csl index 502d2f37f55..9a5c7ff2854 100644 --- a/ChangeLog.csl +++ b/ChangeLog.csl @@ -1,3 +1,9 @@ +2006-08-18 Julian Brown <julian@codesourcery.com> + + opcodes/ + * arm-dis.c (print_insn_neon): Disassemble 32-bit immediates as + signed on 64-bit hosts. + 2006-08-16 Julian Brown <julian@codesourcery.com> gas/ diff --git a/opcodes/arm-dis.c b/opcodes/arm-dis.c index 2798f53a534..77dbcd86068 100644 --- a/opcodes/arm-dis.c +++ b/opcodes/arm-dis.c @@ -2417,7 +2417,9 @@ print_insn_neon (struct disassemble_info *info, long given, bfd_boolean thumb) value); } else - func (stream, "#%ld\t; 0x%.8lx", value, value); + func (stream, "#%ld\t; 0x%.8lx", + (long) ((value & 0x80000000) + ? value | ~0xffffffffl : value), value); break; case 64: |