mirror of
https://github.com/pret/agbcc.git
synced 2026-07-17 00:21:51 -05:00
fix naked function attribute
This commit is contained in:
parent
2f7c2797c8
commit
d3544ca3cc
|
|
@ -957,7 +957,8 @@ thumb_unexpanded_epilogue()
|
|||
int leaf_function = leaf_function_p();
|
||||
int had_to_push_lr;
|
||||
|
||||
if (return_used_this_function)
|
||||
if (arm_naked_function_p(current_function_decl)
|
||||
|| return_used_this_function)
|
||||
return "";
|
||||
|
||||
for (regno = 0; regno < 8; regno++)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user