diff options
author | Mike Stump <mrs@gcc.gnu.org> | 1995-12-28 18:40:19 +0000 |
---|---|---|
committer | Mike Stump <mrs@gcc.gnu.org> | 1995-12-28 18:40:19 +0000 |
commit | 9ad6177652206b70447c8b8d2289b71c67838c48 (patch) | |
tree | d9442efbef0c2c41b0c31f9d0e8282dc31fdde82 /gcc | |
parent | 91b0989ef6b76a65e56a59420aa9a85a5bfa5ba5 (diff) | |
download | gcc-9ad6177652206b70447c8b8d2289b71c67838c48.zip gcc-9ad6177652206b70447c8b8d2289b71c67838c48.tar.gz gcc-9ad6177652206b70447c8b8d2289b71c67838c48.tar.bz2 |
sparc.h (RETURN_ADDR_OFFSET): Rename from NORMAL_RETURN_ADDR_OFFSET...
* sparc.h (RETURN_ADDR_OFFSET): Rename from
NORMAL_RETURN_ADDR_OFFSET, returns the offset for the current
function specifically.
From-SVN: r10893
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/sparc/sparc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/sparc/sparc.h b/gcc/config/sparc/sparc.h index 08a8d23..3054910 100644 --- a/gcc/config/sparc/sparc.h +++ b/gcc/config/sparc/sparc.h @@ -2011,8 +2011,8 @@ extern struct rtx_def *sparc_builtin_saveregs (); #define RETURN_ADDR_IN_PREVIOUS_FRAME /* This is the offset of the return address to the true next instruction to be - executed for normal void functions. */ -#define NORMAL_RETURN_ADDR_OFFSET (8) + executed for the current function. */ +#define RETURN_ADDR_OFFSET (8 + 4*(! TARGET_V9 && current_function_returns_struct)) /* The current return address is in %i7. The return address of anything farther back is in the register window save area at [%fp+60]. */ |