This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
And here are the backend parts for supporting epilogue unwind for SH, ccing Kaz. Note that this needs the prior dwarf2 pass changes in too, or else occasional ICEs ensue. About the issue on unneeded post-return CFI, mentioned before on libc-alpha, this patch currently does produce such directives. The generated unwind info should still be correct, though will need other changes to be optimal. Thanks, Chung-Lin 2012-05-18 Chung-Lin Tang <cltang@codesourcery.com> * config/sh/sh.c (output_stack_adjust): Remove !epilogue_p condition for generating REG_FRAME_RELATED_EXPR note. (pop): Add code for generating REG_CFA_RESTORE, REG_CFA_ADJUST_CFA notes. Set RTX_FRAME_RELATED_P to 1. (sh_expand_epilogue): Use frame_insn() for FP to SP move. Set 'frame_p' of calls to output_stack_adjust() to 'true'.
Attachment:
sh-epilogue-unwind.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |