diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-17 21:59:25 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-17 21:59:25 +0000 |
commit | a6bd8a896747371fc092024b87cc71efdcc51fa7 (patch) | |
tree | d049f6092630b5b6b48b664495c81ab3f4c78867 /gcc/config | |
parent | cfb5e11e3f4ed76eb6631ca75e83f3827ee6d5dc (diff) | |
download | gcc-a6bd8a896747371fc092024b87cc71efdcc51fa7.tar.gz |
* defaults.h (TARGET_CPU_CPP_BUILTINS, CPP_PREDEFINES): Remove.
* gcc.c (cpp_predefines): Remove.
(cpp_unique_options, do_spec_1): Remove handling of CPP_PREDEFINES.
(static_specs): Remove predefines.
* system.h: Poison CPP_PREDEFINES.
* config/freebsd.h, config/openbsd.h, config/ptx4.h, config/svr3.h,
config/svr4.h, doc/tm.texi: Remove references to CPP_PREDEFINES.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66917 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r-- | gcc/config/freebsd.h | 3 | ||||
-rw-r--r-- | gcc/config/openbsd.h | 3 | ||||
-rw-r--r-- | gcc/config/ptx4.h | 6 | ||||
-rw-r--r-- | gcc/config/svr3.h | 16 | ||||
-rw-r--r-- | gcc/config/svr4.h | 12 |
5 files changed, 2 insertions, 38 deletions
diff --git a/gcc/config/freebsd.h b/gcc/config/freebsd.h index f71bd8b42d5..8ddc4886b33 100644 --- a/gcc/config/freebsd.h +++ b/gcc/config/freebsd.h @@ -41,9 +41,6 @@ Boston, MA 02111-1307, USA. */ #undef WORD_SWITCH_TAKES_ARG #define WORD_SWITCH_TAKES_ARG(STR) (FBSD_WORD_SWITCH_TAKES_ARG(STR)) -#undef CPP_PREDEFINES -/* Obsolete, do not define it. */ - #undef TARGET_OS_CPP_BUILTINS #define TARGET_OS_CPP_BUILTINS() FBSD_TARGET_OS_CPP_BUILTINS() diff --git a/gcc/config/openbsd.h b/gcc/config/openbsd.h index ef12922ae2f..7eeb8fef06f 100644 --- a/gcc/config/openbsd.h +++ b/gcc/config/openbsd.h @@ -130,9 +130,6 @@ Boston, MA 02111-1307, USA. */ /* Runtime target specification. */ -/* You must redefine CPP_PREDEFINES in any arch specific file. */ -#undef CPP_PREDEFINES - /* Implicit calls to library routines. */ /* Use memcpy and memset instead of bcopy and bzero. */ diff --git a/gcc/config/ptx4.h b/gcc/config/ptx4.h index 4560b86eab3..0c83d984a5e 100644 --- a/gcc/config/ptx4.h +++ b/gcc/config/ptx4.h @@ -62,12 +62,6 @@ Boston, MA 02111-1307, USA. && strcmp (STR, "Tdata") && strcmp (STR, "Ttext") \ && strcmp (STR, "Tbss")) -/* You should redefine CPP_PREDEFINES in any file which includes this one. - The definition should be appropriate for the type of target system - involved, and it should include any -A (assertion) options which are - appropriate for the given target system. */ -#undef CPP_PREDEFINES - /* Provide an ASM_SPEC appropriate for svr4. Here we try to support as many of the specialized svr4 assembler options as seems reasonable, given that there are certain options which we can't (or shouldn't) diff --git a/gcc/config/svr3.h b/gcc/config/svr3.h index 12e168ac68f..7fa2b4b9079 100644 --- a/gcc/config/svr3.h +++ b/gcc/config/svr3.h @@ -30,13 +30,6 @@ Boston, MA 02111-1307, USA. #include "?????.h" #include "svr3.h" - - followed by any really system-specific defines (or overrides of - defines) which you find that you need. For example, CPP_PREDEFINES - is defined here with only the defined -Dunix and -DSVR3. You should - probably override that in your target-specific ?????svr3.h file - with a set of defines that includes these, but also contains an - appropriate define for the type of hardware that you are targeting. */ /* Define a symbol indicating that we are using svr3.h. */ @@ -46,14 +39,7 @@ Boston, MA 02111-1307, USA. environment and assembler syntax we are targeting for. */ #define SVR3_target -/* Cpp, assembler, linker, library, and startfile spec's. */ - -/* You should redefine CPP_PREDEFINES in any file which includes this one. - The definition should be appropriate for the type of target system - involved, and it should include any -A (assertion) options which are - appropriate for the given target system. */ - -#undef CPP_PREDEFINES +/* Assembler, linker, library, and startfile spec's. */ /* Output at beginning of assembler file. */ /* The .file command should always begin the output. */ diff --git a/gcc/config/svr4.h b/gcc/config/svr4.h index 029ad2ccace..3f85e944dee 100644 --- a/gcc/config/svr4.h +++ b/gcc/config/svr4.h @@ -28,11 +28,7 @@ Boston, MA 02111-1307, USA. where MACHINE is replaced by the name of the basic hardware that you are targeting for. Then, in the file MACHINE/svr4.h, put any really system-specific defines (or overrides of defines) which you find that - you need. For example, CPP_PREDEFINES is defined here with only the - defined -Dunix and -DSVR4. You should probably override that in your - target-specific MACHINE/svr4.h file with a set of defines that - includes these, but also contains an appropriate define for the type - of hardware that you are targeting. + you need. */ /* Define a symbol indicating that we are using svr4.h. */ @@ -59,12 +55,6 @@ Boston, MA 02111-1307, USA. && strcmp (STR, "Tdata") && strcmp (STR, "Ttext") \ && strcmp (STR, "Tbss")) -/* You should redefine CPP_PREDEFINES in any file which includes this one. - The definition should be appropriate for the type of target system - involved, and it should include any -A (assertion) options which are - appropriate for the given target system. */ -#undef CPP_PREDEFINES - /* Provide an ASM_SPEC appropriate for svr4. Here we try to support as many of the specialized svr4 assembler options as seems reasonable, given that there are certain options which we can't (or shouldn't) |