summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/m68k/m68k.c20
2 files changed, 15 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 4ac1f1f949b..e1156df1c9f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c
index 7b3a8ed43b7..af3a03f1ee6 100644
--- a/gcc/config/m68k/m68k.c
+++ b/gcc/config/m68k/m68k.c
@@ -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
{
OpenPOWER on IntegriCloud