diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2007-10-07 11:25:28 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2007-10-07 09:25:28 +0000 |
commit | 1d8604ec39e219483a9914c1478c8e7eeca7d2f8 (patch) | |
tree | 53e0596c5309e85e8fc8baaf89ef3fa6d102ff5f /gcc | |
parent | d25e6024746cba97a7545c69cb013c0098ef75e2 (diff) | |
download | gcc-1d8604ec39e219483a9914c1478c8e7eeca7d2f8.zip gcc-1d8604ec39e219483a9914c1478c8e7eeca7d2f8.tar.gz gcc-1d8604ec39e219483a9914c1478c8e7eeca7d2f8.tar.bz2 |
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 <froydnj@codesourcery.com>
From-SVN: r129066
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/dwarf2out.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a4ec3cb..97a0487 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-10-06 Eric Botcazou <ebotcazou@libertysurf.fr> + Nathan Froyd <froydnj@codesourcery.com> + + * dwarf2out.c (dwarf2out_frame_init): Check for DWARF2_FRAME_INFO + when determining whether to record INCOMING_RETURN_ADDR_RTX. + 2007-10-06 Eric Botcazou <ebotcazou@adacore.com> Revert: diff --git a/gcc/dwarf2out.c b/gcc/dwarf2out.c index 05fd445..d17226e 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 } |