OSDN Git Service

* config/m68k/m68k.c (m68k_output_function_prologue): use %U in
authorbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Aug 2003 22:02:53 +0000 (22:02 +0000)
committerbernie <bernie@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 20 Aug 2003 22:02:53 +0000 (22:02 +0000)
label name
* config/m68k/m68k.c (m68k_output_function_epilogue): replace
HOST_WIDE_INT_PRINT_DEC with %wd

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70620 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/m68k/m68k.c

index c609a37..244163c 100644 (file)
@@ -1,3 +1,10 @@
+2003-08-20  Gunther Nikl  <gni@gecko.de>
+
+       * config/m68k/m68k.c (m68k_output_function_prologue): use %U in
+       label name
+       * config/m68k/m68k.c (m68k_output_function_epilogue): replace
+       HOST_WIDE_INT_PRINT_DEC with %wd
+
 2003-08-20  Loren James Rittle  <ljrittle@acm.org>
 
        * config/i386/freebsd.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Handle
index 14fa556..cd8a2b7 100644 (file)
@@ -572,7 +572,7 @@ m68k_output_function_prologue (stream, size)
       asm_fprintf (stream, "\t%Olea (%Rpc, %U_GLOBAL_OFFSET_TABLE_@GOTPC), %s\n",
                   reg_names[PIC_OFFSET_TABLE_REGNUM]);
 #else
-      asm_fprintf (stream, "\tmovel %I__GLOBAL_OFFSET_TABLE_, %s\n",
+      asm_fprintf (stream, "\tmovel %I%U_GLOBAL_OFFSET_TABLE_, %s\n",
                   reg_names[PIC_OFFSET_TABLE_REGNUM]);
       asm_fprintf (stream, "\tlea %Rpc@(0,%s:l),%s\n",
                   reg_names[PIC_OFFSET_TABLE_REGNUM],
@@ -713,10 +713,9 @@ m68k_output_function_epilogue (stream, size)
                             reg_names[FRAME_POINTER_REGNUM],
                             reg_names[i]);
 #else
-               fprintf (stream,
-                        "\tmovel %s@(-" HOST_WIDE_INT_PRINT_DEC "),%s\n",
-                        reg_names[FRAME_POINTER_REGNUM],
-                        offset + fsize, reg_names[i]);
+               asm_fprintf (stream, "\tmovel %s@(-%wd),%s\n",
+                            reg_names[FRAME_POINTER_REGNUM],
+                            offset + fsize, reg_names[i]);
 #endif
              }
             offset = offset - 4;