diff --git a/gcc/config/m68k/next.h b/gcc/config/m68k/next.h index cdc60fb7ca0..c336d67fbe0 100644 --- a/gcc/config/m68k/next.h +++ b/gcc/config/m68k/next.h @@ -99,7 +99,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ do { \ long hex; \ REAL_VALUE_TO_TARGET_SINGLE (VALUE, hex); \ - fprintf (FILE, "#0b%x", hex); \ + fprintf (FILE, "#0%c%x", (CODE) == 'f' ? 'b' : 'x', hex); \ } while (0) #else #define ASM_OUTPUT_FLOAT_OPERAND(CODE,FILE,VALUE) \