Commit 9ad61776 by Mike Stump

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
parent 91b0989e
...@@ -2011,8 +2011,8 @@ extern struct rtx_def *sparc_builtin_saveregs (); ...@@ -2011,8 +2011,8 @@ extern struct rtx_def *sparc_builtin_saveregs ();
#define RETURN_ADDR_IN_PREVIOUS_FRAME #define RETURN_ADDR_IN_PREVIOUS_FRAME
/* This is the offset of the return address to the true next instruction to be /* This is the offset of the return address to the true next instruction to be
executed for normal void functions. */ executed for the current function. */
#define NORMAL_RETURN_ADDR_OFFSET (8) #define RETURN_ADDR_OFFSET (8 + 4*(! TARGET_V9 && current_function_returns_struct))
/* The current return address is in %i7. The return address of anything /* The current return address is in %i7. The return address of anything
farther back is in the register window save area at [%fp+60]. */ farther back is in the register window save area at [%fp+60]. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment