200x-xx-xx Kazu Hirata <kazu@codesourcery.com>
gcc/ 200x-xx-xx Kazu Hirata <kazu@codesourcery.com> * config/m68k/m68k.c (m68k_output_function_epilogue): Don't output a NOP for empty epilogues. From-SVN: r120928
This commit is contained in:
parent
413ac1b28d
commit
dfd050746b
|
@ -1,3 +1,8 @@
|
||||||
|
2007-01-18 Kazu Hirata <kazu@codesourcery.com>
|
||||||
|
|
||||||
|
* config/m68k/m68k.c (m68k_output_function_epilogue): Don't
|
||||||
|
output a NOP for empty epilogues.
|
||||||
|
|
||||||
2007-01-18 Richard Sandiford <richard@codesourcery.com>
|
2007-01-18 Richard Sandiford <richard@codesourcery.com>
|
||||||
|
|
||||||
* config/m68k/m68k.c (m68k_use_return_insn): Update comments
|
* config/m68k/m68k.c (m68k_use_return_insn): Update comments
|
||||||
|
|
|
@ -1055,12 +1055,7 @@ m68k_output_function_epilogue (FILE *stream,
|
||||||
if (GET_CODE (insn) == NOTE)
|
if (GET_CODE (insn) == NOTE)
|
||||||
insn = prev_nonnote_insn (insn);
|
insn = prev_nonnote_insn (insn);
|
||||||
if (insn && GET_CODE (insn) == BARRIER)
|
if (insn && GET_CODE (insn) == BARRIER)
|
||||||
{
|
|
||||||
/* Output just a no-op so that debuggers don't get confused
|
|
||||||
about which function the pc is in at this address. */
|
|
||||||
fprintf (stream, "\tnop\n");
|
|
||||||
return;
|
return;
|
||||||
}
|
|
||||||
|
|
||||||
#ifdef FUNCTION_EXTRA_EPILOGUE
|
#ifdef FUNCTION_EXTRA_EPILOGUE
|
||||||
FUNCTION_EXTRA_EPILOGUE (stream, size);
|
FUNCTION_EXTRA_EPILOGUE (stream, size);
|
||||||
|
|
Loading…
Reference in New Issue