On 10/11/2015 02:25 AM, tbsaunde+...@tbsaunde.org wrote:
From: Trevor Saunders <tbsaunde+...@tbsaunde.org>
gcc/ChangeLog:
2015-10-10 Trevor Saunders <tbsaunde+...@tbsaunde.org>
* defaults.h (SETUP_FRAME_ADDRESSES): New default definition.
* builtins.c (expand_builtin_return_addr): Adjust.
* doc/tm.texi: Likewise.
* doc/tm.texi.in: Likewise.
* except.c (expand_builtin_unwind_init): Likewise.
If we go to the trouble of changing this, could we convert macros to
target hooks instead while we're there? REVERSE_CONDITION,
SETUP_FRAME_ADDRESSES and FRAME_ADDR_RTX all seem to be used only in a
handful of ports, and INITIAL_FRAME_ADDRESS_RTX only in one.
Bernd