m68k.c (m68k_output_function_prologue): use %U in label name

* 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

From-SVN: r70620
This commit is contained in:
Gunther Nikl 2003-08-20 22:02:53 +00:00 committed by Bernardo Innocenti
parent 9e68a9dc75
commit c23b0b90ee
2 changed files with 11 additions and 5 deletions

View 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

View 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;