sh.h (CALL_COOKIE_RET_TRAMP_SHIFT): Move after the definition of struct sh_args.

* config/sh/sh.h (CALL_COOKIE_RET_TRAMP_SHIFT): Move after
	the definition of struct sh_args.
	(CALL_COOKIE_RET_TRAMP, CALL_COOKIE_STACKSEQ_SHIFT,
	CALL_COOKIE_INT_REG_GET): Likewise.

From-SVN: r123290
This commit is contained in:
Kaz Kojima 2007-03-28 05:18:03 +00:00
parent 96647293f6
commit e318fc8fab
2 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,10 @@
2007-03-28 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/sh.h (CALL_COOKIE_RET_TRAMP_SHIFT): Move after
the definition of struct sh_args.
(CALL_COOKIE_RET_TRAMP, CALL_COOKIE_STACKSEQ_SHIFT,
CALL_COOKIE_INT_REG_GET): Likewise.
2007-03-28 Steven Bosscher <steven@gcc.gnu.org>
* ifcvt.c (cond_exec_find_if_block): Return FALSE if no

View File

@ -1979,6 +1979,13 @@ struct sh_args {
- If T is set, a return trampoline will be set up for 64-bit
return values to be split into 2 32-bit registers. */
long call_cookie;
/* This is set to nonzero when the call in question must use the Renesas ABI,
even without the -mrenesas option. */
int renesas_abi;
};
#define CALL_COOKIE_RET_TRAMP_SHIFT 0
#define CALL_COOKIE_RET_TRAMP(VAL) ((VAL) << CALL_COOKIE_RET_TRAMP_SHIFT)
#define CALL_COOKIE_STACKSEQ_SHIFT 1
@ -1991,12 +1998,6 @@ struct sh_args {
((VAL) << CALL_COOKIE_INT_REG_SHIFT (REG))
#define CALL_COOKIE_INT_REG_GET(COOKIE, REG) \
(((COOKIE) >> CALL_COOKIE_INT_REG_SHIFT (REG)) & ((REG) < 4 ? 7 : 15))
long call_cookie;
/* This is set to nonzero when the call in question must use the Renesas ABI,
even without the -mrenesas option. */
int renesas_abi;
};
#define CUMULATIVE_ARGS struct sh_args