diff options
author | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-30 23:16:23 +0000 |
---|---|---|
committer | kazu <kazu@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-01-30 23:16:23 +0000 |
commit | 6644435d00d3c48d0a4c16cfef76d2c494e0d40d (patch) | |
tree | f190f5aa757ea9e5e18f1e0342621c5711cb26c6 /gcc/config/sh | |
parent | 5482e0c77c2acc95360cc9853a6ae06cbd249ed5 (diff) | |
download | gcc-6644435d00d3c48d0a4c16cfef76d2c494e0d40d.tar.gz |
* config/alpha/alpha.c: Remove mentions of deprecates macros
in comments, remove some target-independent comments about target
macros, and/or add minimal function comments for target hook
implementations.
* config/avr/avr.c: Likewise.
* config/ia64/ia64.h: Likewise.
* config/ip2k/ip2k.c: Likewise.
* config/iq2000/iq2000.c: Likewise.
* config/m32r/m32r.h: Likewise.
* config/m68hc11/m68hc11.c: Likewise.
* config/mcore/mcore.c: Likewise.
* config/mmix/mmix.c: Likewise.
* config/mn10300/mn10300.c: Likewise.
* config/pa/pa.c: Likewise.
* config/pdp11/pdp11.c: Likewise.
* config/rs6000/rs6000.h: Likewise.
* config/sh/sh.c: Likewise.
* config/sh/sh.h: Likewise.
* config/sparc/sparc.c: Likewise.
* config/sparc/sparc.h: Likewise.
* config/stormy16/stormy16.c: Likewise.
* config/xtensa/xtensa.c: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@77005 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/sh')
-rw-r--r-- | gcc/config/sh/sh.c | 8 | ||||
-rw-r--r-- | gcc/config/sh/sh.h | 3 |
2 files changed, 5 insertions, 6 deletions
diff --git a/gcc/config/sh/sh.c b/gcc/config/sh/sh.c index f745265a922..15a9fdebdf8 100644 --- a/gcc/config/sh/sh.c +++ b/gcc/config/sh/sh.c @@ -92,7 +92,7 @@ static int pragma_trapa; interrupted. */ int pragma_nosave_low_regs; -/* This is used for communication between SETUP_INCOMING_VARARGS and +/* This is used for communication between TARGET_SETUP_INCOMING_VARARGS and sh_expand_prologue. */ int current_function_anonymous_args; @@ -6520,10 +6520,6 @@ sh_function_arg_advance (CUMULATIVE_ARGS *ca, enum machine_mode mode, : ROUND_ADVANCE (GET_MODE_SIZE (mode))))); } -/* If the structure value address is not passed in a register, define - `STRUCT_VALUE' as an expression returning an RTX for the place - where the address is passed. If it returns 0, the address is - passed as an "invisible" first argument. */ /* The Renesas calling convention doesn't quite fit into this scheme since the address is passed like an invisible argument, but one that is always passed in memory. */ @@ -6535,6 +6531,8 @@ sh_struct_value_rtx (tree fndecl, int incoming ATTRIBUTE_UNUSED) return gen_rtx_REG (Pmode, 2); } +/* Worker function for TARGET_RETURN_IN_MEMORY. */ + static bool sh_return_in_memory (tree type, tree fndecl) { diff --git a/gcc/config/sh/sh.h b/gcc/config/sh/sh.h index 5355d0a407b..caece67bdac 100644 --- a/gcc/config/sh/sh.h +++ b/gcc/config/sh/sh.h @@ -1126,7 +1126,8 @@ extern char sh_additional_register_names[ADDREGNAMES_SIZE] \ #define STATIC_CHAIN_REGNUM (TARGET_SH5 ? 1 : 3) /* Don't default to pcc-struct-return, because we have already specified - exactly how to return structures in the RETURN_IN_MEMORY macro. */ + exactly how to return structures in the TARGET_RETURN_IN_MEMORY + target hook. */ #define DEFAULT_PCC_STRUCT_RETURN 0 |