(thumb_unexpanded_epilogue): Don't generate epilogue for naked functions.

From-SVN: r57476
This commit is contained in:
Adam Nemet 2002-09-24 17:30:54 +00:00 committed by Nick Clifton
parent 59be607334
commit 58e60158ac
2 changed files with 8 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2002-09-24 Adam Nemet <anemet@lnxw.com>
* config/arm/arm.c (thumb_unexpanded_epilogue): Don't generate
epilogue for naked functions.
2002-09-24 Adam Nemet <anemet@lnxw.com>
Nick Clifton <nickc@redhat.com>

View file

@ -9977,6 +9977,9 @@ thumb_unexpanded_epilogue ()
if (return_used_this_function)
return "";
if (IS_NAKED (arm_current_func_type ()))
return "";
for (regno = 0; regno <= LAST_LO_REGNUM; regno++)
if (THUMB_REG_PUSHED_P (regno))
live_regs_mask |= 1 << regno;