From: Eric Botcazou Date: Sun, 7 Oct 2007 09:25:28 +0000 (+0200) Subject: dwarf2out.c (dwarf2out_frame_init): Check for DWARF2_FRAME_INFO when determining... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1d8604ec39e219483a9914c1478c8e7eeca7d2f8;p=gcc.git dwarf2out.c (dwarf2out_frame_init): Check for DWARF2_FRAME_INFO when determining whether to record... * dwarf2out.c (dwarf2out_frame_init): Check for DWARF2_FRAME_INFO when determining whether to record INCOMING_RETURN_ADDR_RTX. Co-Authored-By: Nathan Froyd From-SVN: r129066 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a4ec3cb3aee..97a048704db 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-10-06 Eric Botcazou + Nathan Froyd + + * dwarf2out.c (dwarf2out_frame_init): Check for DWARF2_FRAME_INFO + when determining whether to record INCOMING_RETURN_ADDR_RTX. + 2007-10-06 Eric Botcazou Revert: diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 05fd44576ae..d17226e9fcf 100644 --- a/gcc/dwarf2out.c +++ b/gcc/dwarf2out.c @@ -2662,7 +2662,7 @@ dwarf2out_frame_init (void) dwarf2out_def_cfa (NULL, STACK_POINTER_REGNUM, INCOMING_FRAME_SP_OFFSET); #ifdef DWARF2_UNWIND_INFO - if (DWARF2_UNWIND_INFO) + if (DWARF2_UNWIND_INFO || DWARF2_FRAME_INFO) initial_return_save (INCOMING_RETURN_ADDR_RTX); #endif }