aboutsummaryrefslogtreecommitdiff
path: root/gcc/builtins.c
diff options
context:
space:
mode:
authorTrevor Saunders <tbsaunde+gcc@tbsaunde.org>2015-10-11 00:48:02 +0000
committerTrevor Saunders <tbsaunde@gcc.gnu.org>2015-10-11 00:48:02 +0000
commitbaf37960f6ff7b5d8b4fc69f1f3d936d221cdeeb (patch)
tree08dd3e988e224f0a00655ec21a68d7566526182f /gcc/builtins.c
parent579f294624827c80f01af119cc3f52265371a353 (diff)
downloadgcc-baf37960f6ff7b5d8b4fc69f1f3d936d221cdeeb.zip
gcc-baf37960f6ff7b5d8b4fc69f1f3d936d221cdeeb.tar.gz
gcc-baf37960f6ff7b5d8b4fc69f1f3d936d221cdeeb.tar.bz2
always define SETUP_FRAME_ADDRESSES
gcc/ChangeLog: 2015-10-10 Trevor Saunders <tbsaunde+gcc@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. From-SVN: r228686
Diffstat (limited to 'gcc/builtins.c')
-rw-r--r--gcc/builtins.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/builtins.c b/gcc/builtins.c
index 3bbe763..bd95acb 100644
--- a/gcc/builtins.c
+++ b/gcc/builtins.c
@@ -784,13 +784,8 @@ expand_builtin_return_addr (enum built_in_function fndecl_code, int count)
}
}
- /* Some machines need special handling before we can access
- arbitrary frames. For example, on the SPARC, we must first flush
- all register windows to the stack. */
-#ifdef SETUP_FRAME_ADDRESSES
if (count > 0)
SETUP_FRAME_ADDRESSES ();
-#endif
/* On the SPARC, the return address is not in the frame, it is in a
register. There is no way to access it off of the current frame