diff options
author | Nick Clifton <nickc@redhat.com> | 2010-06-16 15:12:49 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2010-06-16 15:12:49 +0000 |
commit | 1a9e7571227e8d59808ca066c94e694b2168ac61 (patch) | |
tree | 4a1b519476fb84f2f1212a5771fc07cf6c93c1dd /opcodes | |
parent | 9f42c07f871db8b0e86883d54dceed6555708338 (diff) | |
download | binutils-redhat-1a9e7571227e8d59808ca066c94e694b2168ac61.tar.gz |
2010-06-16 Vincent Rivire <vincent.riviere@freesbee.fr>
PR binutils/11676
* m68k-dis.c (print_insn_arg): Prefix float constants with #0e.
2010-06-16 Nick Clifton <nickc@redhat.com>
PR binutils/11676
* gas/m68k/pr11676.s: New test.
* gas/m68k/pr11676.d: Expected disassembly.
* gas/m68k/all.exp: Run the new test.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 5 | ||||
-rw-r--r-- | opcodes/m68k-dis.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 8f283dd253..c22f0d7692 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,8 @@ +2010-06-16 Vincent Rivière <vincent.riviere@freesbee.fr> + + PR binutils/11676 + * m68k-dis.c (print_insn_arg): Prefix float constants with #0e. + 2010-06-14 Sebastian Andrzej Siewior <bigeasy@linutronix.de> * ppc-dis.c (ppc_opts): Remove PPC_OPCODE_E500MC from e500 and diff --git a/opcodes/m68k-dis.c b/opcodes/m68k-dis.c index e136a2535c..0bbf0379d8 100644 --- a/opcodes/m68k-dis.c +++ b/opcodes/m68k-dis.c @@ -1111,7 +1111,7 @@ print_insn_arg (const char *d, return -1; } if (flt_p) /* Print a float? */ - (*info->fprintf_func) (info->stream, "#%g", flval); + (*info->fprintf_func) (info->stream, "#0e%g", flval); else (*info->fprintf_func) (info->stream, "#%d", val); break; |