diff options
author | Hans-Peter Nilsson <hp@bitrange.com> | 2003-03-08 16:10:30 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2003-03-08 16:10:30 +0000 |
commit | fa5848c7900928c031fc995f4b42958bc3562f86 (patch) | |
tree | 84a006b7411030bdb591c4c875c672f58e29ffeb | |
parent | 4555be989ffa8bc510f8760f9110e67faf63657e (diff) | |
download | gcc-fa5848c7900928c031fc995f4b42958bc3562f86.zip gcc-fa5848c7900928c031fc995f4b42958bc3562f86.tar.gz gcc-fa5848c7900928c031fc995f4b42958bc3562f86.tar.bz2 |
cris.h: Remove EGCS references.
* config/cris/cris.h: Remove EGCS references.
(CPP_SPEC): Remove "-$".
(INIT_CUMULATIVE_ARGS): Adjust parameter name to FNDECL.
From-SVN: r63995
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/cris/cris.h | 26 |
2 files changed, 13 insertions, 19 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6cb8d16..2de9a30 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2003-03-08 Hans-Peter Nilsson <hp@bitrange.com> + + * config/cris/cris.h: Remove EGCS references. + (CPP_SPEC): Remove "-$". + (INIT_CUMULATIVE_ARGS): Adjust parameter name to FNDECL. + 2003-03-08 Neil Booth <neil@daikokuya.co.uk> * config/stormy16/stormy16.h (TARGET_CPU_CPP_BUILTINS): Use in diff --git a/gcc/config/cris/cris.h b/gcc/config/cris/cris.h index 78e62d1..200edabd 100644 --- a/gcc/config/cris/cris.h +++ b/gcc/config/cris/cris.h @@ -1,5 +1,5 @@ /* Definitions for GCC. Part of the machine description for CRIS. - Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. Contributed by Axis Communications. Written by Hans-Peter Nilsson. This file is part of GCC. @@ -115,17 +115,8 @@ extern const char *cris_elinux_stacksize_str; /* Also provide canonical vN definitions when user specifies an alias. Note that -melf overrides -maout. */ -/* The `-$' is here mostly due to the integrated preprocessor not - handling the builtin expansion of "#define __REGISTER_PREFIX__ $" - gracefully. This is slightly redundant although not incorrect. - We're quite alone defining REGISTER_PREFIX as "$" so it's unlikely - someone will fight for us. This year in the mountains. - Note that for -melinux and -mlinux, command-line -isystem options are - emitted both before and after the synthesized one. We can't remove all - of them: a %<isystem will only remove the first one and %<isystem* - will not do TRT. Those extra occurrences are harmless anyway. */ #define CPP_SPEC \ - "-$ -D__CRIS_ABI_version=2\ + "-D__CRIS_ABI_version=2\ %{mtune=*:-D__tune_%* %{mtune=v*:-D__CRIS_arch_tune=%*}}\ %{mtune=etrax4:-D__tune_v3 -D__CRIS_arch_tune=3}\ %{mtune=etrax100:-D__tune_v8 -D__CRIS_arch_tune=8}\ @@ -956,9 +947,8 @@ enum reg_class {NO_REGS, ALL_REGS, LIM_REG_CLASSES}; struct cum_args {int regs;}; /* The regs member is an integer, the number of arguments got into - registers so far, and lib is nonzero if init_cumulative_args was - found to generate a call to a library function. */ -#define INIT_CUMULATIVE_ARGS(CUM, FNTYPE, LIBNAME, INDIRECT) \ + registers so far. */ +#define INIT_CUMULATIVE_ARGS(CUM, FNTYPE, LIBNAME, FNDECL) \ ((CUM).regs = 0) #define FUNCTION_ARG_ADVANCE(CUM, MODE, TYPE, NAMED) \ @@ -1246,8 +1236,7 @@ struct cum_args {int regs;}; FIXME: Check and adjust for gcc-2.9x. */ #define LEGITIMIZE_ADDRESS(X, OLDX, MODE, WIN) {} -/* Functionality import from EGCS. - Kludge to solve Axis-990219: Work around imperfection in +/* Kludge to solve Axis-990219: Work around imperfection in reload_load_address1: (plus (sign_extend (mem:qi (reg))) (reg)) should be reloaded as (plus (reg) (reg)), not @@ -1255,9 +1244,8 @@ struct cum_args {int regs;}; There are no checks that reload_load_address_1 "reloads" addresses correctly, so invalidness is not caught or corrected. - When the right thing happens, the "something_reloaded" kludge can - be removed. The right thing does not appear to happen for - EGCS CVS as of this date (above). */ + When the right thing happens in reload, the kludge can + be removed; still not as of 2003-02-27. */ #define LEGITIMIZE_RELOAD_ADDRESS(X, MODE, OPNUM, TYPE, IND_LEVELS, WIN) \ do \ |