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.
+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.
+
2010-06-15 Joseph Myers <joseph@codesourcery.com>
* gas/elf/elf.exp: Set target_machine for tic6x-*-*.
2010-06-15 Joseph Myers <joseph@codesourcery.com>
* gas/elf/elf.exp: Set target_machine for tic6x-*-*.
if { [istarget m68k-*-linux*] } then {
run_dump_test tls-gd-3
}
if { [istarget m68k-*-linux*] } then {
run_dump_test tls-gd-3
}
+
+ run_dump_test pr11676
}
if [info exists errorInfo] then {
unset errorInfo
}
if [info exists errorInfo] then {
unset errorInfo
--- /dev/null
+#objdump: -d --prefix-addresses
+#name: PR 11676
+
+# Test disassembling of floating point constants.
+
+.*: +file format .*
+
+Disassembly of section .text:
+0+000 <foo>[ ]fmoves #0e1.23,%fp0
--- /dev/null
+ .text
+ .global foo
+foo:
+ fmoves #0e1.23,%fp0
+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
2010-06-14 Sebastian Andrzej Siewior <bigeasy@linutronix.de>
* ppc-dis.c (ppc_opts): Remove PPC_OPCODE_E500MC from e500 and
return -1;
}
if (flt_p) /* Print a float? */
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;
else
(*info->fprintf_func) (info->stream, "#%d", val);
break;