[RFC 1/2] Turn RETURN_ADDR_IN_PREVIOUS_FRAME into C expression
augustine.sterling@gmail.com
augustine.sterling@gmail.com
Sun Mar 1 05:35:00 GMT 2015
On Sat, Feb 28, 2015 at 10:14 AM, Max Filippov <jcmvbkbc@gmail.com> wrote:
> This allows a target to support both windowed and non-windowed ABI.
>
> 2015-02-28 Max Filippov <jcmvbkbc@gmail.com>
>
> gcc/
> * builtins.c (expand_builtin_return_addr): Add
> RETURN_ADDR_IN_PREVIOUS_FRAME to 'if' condition.
> * config/sparc/sparc.h (RETURN_ADDR_IN_PREVIOUS_FRAME): Change
> definition to 1.
> * config/xtensa/xtensa.h (RETURN_ADDR_IN_PREVIOUS_FRAME):
> Likewise.
Unfortunately, I can't approve a change to spark.h, even though this
seems quite innocuous to me. I'm not sure why it is even relevant to
xtensa.
Without that, approved.
More information about the Gcc-patches
mailing list