aboutsummaryrefslogtreecommitdiff
path: root/opcodes/m68k-dis.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2010-06-16 15:12:51 +0000
committerNick Clifton <nickc@redhat.com>2010-06-16 15:12:51 +0000
commit09ec0d177a3ca98495ba2c4fec834a5e1c9c3e17 (patch)
tree4eb2516612b3029b1a325bf15466984149d8a6c7 /opcodes/m68k-dis.c
parent81efa4eed00bc6af13b4fb7b4fb3dca5def20e10 (diff)
downloadgdb-09ec0d177a3ca98495ba2c4fec834a5e1c9c3e17.zip
gdb-09ec0d177a3ca98495ba2c4fec834a5e1c9c3e17.tar.gz
gdb-09ec0d177a3ca98495ba2c4fec834a5e1c9c3e17.tar.bz2
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/m68k-dis.c')
-rw-r--r--opcodes/m68k-dis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcodes/m68k-dis.c b/opcodes/m68k-dis.c
index e136a25..0bbf037 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;