diff options
author | Andreas Schwab <schwab@suse.de> | 2006-08-06 10:15:33 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@gcc.gnu.org> | 2006-08-06 10:15:33 +0000 |
commit | 884b74f0f460fca76b373c218a532e38b1593331 (patch) | |
tree | e32c247957956dc2aa1f9f8547445e9a5db6dd1e | |
parent | f970c857c9232309c68e39214e0fb65c0cfa615c (diff) | |
download | gcc-884b74f0f460fca76b373c218a532e38b1593331.zip gcc-884b74f0f460fca76b373c218a532e38b1593331.tar.gz gcc-884b74f0f460fca76b373c218a532e38b1593331.tar.bz2 |
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
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/m68k/m68k.c | 20 |
2 files changed, 15 insertions, 10 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4ac1f1f..e1156df 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 7b3a8ed..af3a03f 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 { |