Commit 58e60158 by Adam Nemet Committed by Nick Clifton

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

From-SVN: r57476
parent 59be6073
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>
* config/arm/arm.h (THUMB_FUNCTION_PROFILER): Remove.
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment