mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-02-10 09:39:46 +08:00
m68k.c (m68k_output_function_epilogue): Fix format string.
* config/m68k/m68k.c (m68k_output_function_epilogue): Fix format string. Whitespace and comment fixup. From-SVN: r115968
This commit is contained in:
parent
f970c857c9
commit
884b74f0f4
@ -1,3 +1,8 @@
|
||||
2006-08-06 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* config/m68k/m68k.c (m68k_output_function_epilogue): Fix format
|
||||
string. Whitespace and comment fixup.
|
||||
|
||||
2006-08-05 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
|
||||
|
||||
PR c/28502
|
||||
|
@ -1006,26 +1006,26 @@ m68k_output_function_epilogue (FILE *stream,
|
||||
{
|
||||
int offset;
|
||||
|
||||
/* stack already has registers in it. Find the offset from
|
||||
the bottom of stack to where the FP registers go */
|
||||
/* Stack already has registers in it. Find the offset from
|
||||
the bottom of stack to where the FP registers go. */
|
||||
if (current_frame.reg_no <= 2)
|
||||
offset = 0;
|
||||
else
|
||||
offset = current_frame.reg_no * 4;
|
||||
if (offset)
|
||||
asm_fprintf (stream,
|
||||
"\tfmovem %Rsp@(%wd), %I0x%x\n",
|
||||
asm_fprintf (stream,
|
||||
"\tfmovem %Rsp@(%d), %I0x%x\n",
|
||||
offset, current_frame.fpu_rev_mask);
|
||||
else
|
||||
asm_fprintf (stream,
|
||||
asm_fprintf (stream,
|
||||
"\tfmovem %Rsp@, %I0x%x\n",
|
||||
current_frame.fpu_rev_mask);
|
||||
}
|
||||
else
|
||||
asm_fprintf (stream, MOTOROLA ?
|
||||
"\tfmovm (%Rsp)+,%I0x%x\n" :
|
||||
"\tfmovem %Rsp@+,%I0x%x\n",
|
||||
current_frame.fpu_rev_mask);
|
||||
else
|
||||
asm_fprintf (stream, MOTOROLA ?
|
||||
"\tfmovm (%Rsp)+,%I0x%x\n" :
|
||||
"\tfmovem %Rsp@+,%I0x%x\n",
|
||||
current_frame.fpu_rev_mask);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user