m68k.c (m68k_save_reg): Remove special case for leaf functions.
gcc/ * config/m68k/m68k.c (m68k_save_reg): Remove special case for leaf functions. (m68k_expand_prologue): Likewise. From-SVN: r122608
This commit is contained in:
parent
f7e7089441
commit
4f44ecc07f
@ -1,3 +1,9 @@
|
||||
2007-03-06 Richard Sandiford <richard@codesourcery.com>
|
||||
|
||||
* config/m68k/m68k.c (m68k_save_reg): Remove special case for
|
||||
leaf functions.
|
||||
(m68k_expand_prologue): Likewise.
|
||||
|
||||
2007-03-06 Richard Sandiford <richard@codesourcery.com>
|
||||
|
||||
* config/m68k/m68k-protos.h (output_sibcall): Declare.
|
||||
|
@ -749,8 +749,6 @@ m68k_save_reg (unsigned int regno, bool interrupt_handler)
|
||||
{
|
||||
if (current_function_uses_pic_offset_table)
|
||||
return true;
|
||||
if (!current_function_is_leaf && TARGET_ID_SHARED_LIBRARY)
|
||||
return true;
|
||||
}
|
||||
|
||||
if (current_function_calls_eh_return)
|
||||
@ -996,8 +994,7 @@ m68k_expand_prologue (void)
|
||||
|
||||
if (flag_pic
|
||||
&& !TARGET_SEP_DATA
|
||||
&& (current_function_uses_pic_offset_table
|
||||
|| (!current_function_is_leaf && TARGET_ID_SHARED_LIBRARY)))
|
||||
&& current_function_uses_pic_offset_table)
|
||||
{
|
||||
insn = emit_insn (gen_load_got (pic_offset_table_rtx));
|
||||
REG_NOTES (insn) = gen_rtx_EXPR_LIST (REG_MAYBE_DEAD,
|
||||
|
Loading…
Reference in New Issue
Block a user