On Sun, Mar 1, 2015 at 8:34 AM, augustine.sterl...@gmail.com <augustine.sterl...@gmail.com> wrote: > On Sat, Feb 28, 2015 at 10:14 AM, Max Filippov <jcmvb...@gmail.com> wrote: >> This allows a target to support both windowed and non-windowed ABI. >> >> 2015-02-28 Max Filippov <jcmvb...@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.
Ok, I'll cc sparc maintainers. In the 2/2 RETURN_ADDR_IN_PREVIOUS_FRAME is changed for xtensa depending on the selected ABI. > Without that, approved. -- Thanks. -- Max