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] |
Hi, all, In nds32 ABI, the vararg arguments are pushed onto stack by callee. However, those registers content are unnecessary to be restored. We need to create an extra register note to inform gcc such information so that it can generate correct CFI info for variadic function. gcc/ChangeLog 2014-11-21 Chung-Ju Wu <jasonwucj@gmail.com> * config/nds32/nds32.c (nds32_emit_stack_push_multiple): Add new vaarg_p argument and create correct CFI info. (nds32_expand_prologue): Pass true or false to nds32_emit_stack_push_multiple function. Committed as Rev. 217903: https://gcc.gnu.org/r217903 Best regards, jasonwucj
Attachment:
0003-Fix-CFI-for-variadic-function-arguments.patch
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |