aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2015-10-11 00:48:11 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2015-10-11 00:48:11 +0000
commitf407dfe9855ef15b27be8508032c5562aaa127a2 (patch)
tree455430b1ddc82a4fef623116171f7990f96433e2 /gcc/builtins.c
parentbaf37960f6ff7b5d8b4fc69f1f3d936d221cdeeb (diff)
downloadgcc-f407dfe9855ef15b27be8508032c5562aaa127a2.zip
gcc-f407dfe9855ef15b27be8508032c5562aaa127a2.tar.gz
gcc-f407dfe9855ef15b27be8508032c5562aaa127a2.tar.bz2
always define DYNAMIC_CHAIN_ADDRESS
gcc/ChangeLog: 2015-10-10 Trevor Saunders <tbsaunde+gcc@tbsaunde.org> * defaults.h (DYNAMIC_CHAIN_ADDRESS): New default definition. * builtins.c (expand_builtin_return_addr): Adjust. From-SVN: r228687
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r--gcc/builtins.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c
index bd95acb..750488e 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -799,9 +799,7 @@ expand_builtin_return_addr (enum built_in_function fndecl_code, int count)
{
/* Assume the dynamic chain pointer is in the word that the
frame address points to, unless otherwise specified. */
-#ifdef DYNAMIC_CHAIN_ADDRESS
tem = DYNAMIC_CHAIN_ADDRESS (tem);
-#endif
tem = memory_address (Pmode, tem);
tem = gen_frame_mem (Pmode, tem);
tem = copy_to_reg (tem);