Commit 7d4ea832 by Richard Kenner

(SWITCH_TAKES_ARG): Use DEFAULT_SWITCH_TAKES_ARG.

From-SVN: r11266
parent 815cf875
/* Definitions of target machine for GNU compiler. /* Definitions of target machine for GNU compiler.
Intel 386 (OSF/1 with OSF/rose) version. Intel 386 (OSF/1 with OSF/rose) version.
Copyright (C) 1991, 1992, 1993 Free Software Foundation, Inc. Copyright (C) 1991, 1992, 1993, 1996 Free Software Foundation, Inc.
This file is part of GNU CC. This file is part of GNU CC.
...@@ -36,16 +36,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -36,16 +36,7 @@ Boston, MA 02111-1307, USA. */
-z* options (for the linker). */ -z* options (for the linker). */
#define SWITCH_TAKES_ARG(CHAR) \ #define SWITCH_TAKES_ARG(CHAR) \
( (CHAR) == 'D' \ (DEFAULT_SWITCH_TAKES_ARG(CHAR) \
|| (CHAR) == 'U' \
|| (CHAR) == 'o' \
|| (CHAR) == 'e' \
|| (CHAR) == 'T' \
|| (CHAR) == 'u' \
|| (CHAR) == 'I' \
|| (CHAR) == 'm' \
|| (CHAR) == 'L' \
|| (CHAR) == 'A' \
|| (CHAR) == 'h' \ || (CHAR) == 'h' \
|| (CHAR) == 'z') || (CHAR) == 'z')
......
/* Target definitions for GNU compiler for Intel 80386 running Solaris 2 /* Target definitions for GNU compiler for Intel 80386 running Solaris 2
Copyright (C) 1993, 1995 Free Software Foundation, Inc. Copyright (C) 1993, 1995, 1996 Free Software Foundation, Inc.
Contributed by Fred Fish (fnf@cygnus.com).
Written by Fred Fish (fnf@cygnus.com).
This file is part of GNU CC. This file is part of GNU CC.
...@@ -76,16 +75,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -76,16 +75,7 @@ Boston, MA 02111-1307, USA. */
#undef SWITCH_TAKES_ARG #undef SWITCH_TAKES_ARG
#define SWITCH_TAKES_ARG(CHAR) \ #define SWITCH_TAKES_ARG(CHAR) \
( (CHAR) == 'D' \ (DEFAULT_SWITCH_TAKES_ARG(CHAR) \
|| (CHAR) == 'U' \
|| (CHAR) == 'o' \
|| (CHAR) == 'e' \
|| (CHAR) == 'u' \
|| (CHAR) == 'I' \
|| (CHAR) == 'm' \
|| (CHAR) == 'L' \
|| (CHAR) == 'R' \
|| (CHAR) == 'A' \
|| (CHAR) == 'h' \ || (CHAR) == 'h' \
|| (CHAR) == 'z') || (CHAR) == 'z')
/* Definitions of target machine for GNU compiler. MIPS GNU Hurd version. /* Definitions of target machine for GNU compiler. MIPS GNU Hurd version.
Copyright (C) 1995 Free Software Foundation, Inc. Copyright (C) 1995, 1996 Free Software Foundation, Inc.
This file is part of GNU CC. This file is part of GNU CC.
...@@ -81,11 +81,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -81,11 +81,7 @@ Boston, MA 02111-1307, USA. */
/* Switch Recognition by gcc.c. Add -G xx support */ /* Switch Recognition by gcc.c. Add -G xx support */
#undef SWITCH_TAKES_ARG #undef SWITCH_TAKES_ARG
#define SWITCH_TAKES_ARG(CHAR) \ #define SWITCH_TAKES_ARG(CHAR) \
((CHAR) == 'D' || (CHAR) == 'U' || (CHAR) == 'o' \ (DEFAULT_SWITCH_TAKES_ARG(CHAR) || (CHAR) == 'G')
|| (CHAR) == 'e' || (CHAR) == 'T' || (CHAR) == 'u' \
|| (CHAR) == 'I' || (CHAR) == 'm' \
|| (CHAR) == 'h' || (CHAR) == 'z' \
|| (CHAR) == 'L' || (CHAR) == 'A' || (CHAR) == 'G')
#undef DEFAULT_PCC_STRUCT_RETURN #undef DEFAULT_PCC_STRUCT_RETURN
#define DEFAULT_PCC_STRUCT_RETURN 1 #define DEFAULT_PCC_STRUCT_RETURN 1
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
Changed by Michael Meissner, meissner@osf.org Changed by Michael Meissner, meissner@osf.org
64 bit r4000 support by Ian Lance Taylor, ian@cygnus.com, and 64 bit r4000 support by Ian Lance Taylor, ian@cygnus.com, and
Brendan Eich, brendan@microunity.com. Brendan Eich, brendan@microunity.com.
Copyright (C) 1989, 90, 91, 92, 93, 94, 1995 Free Software Foundation, Inc. Copyright (C) 1989, 90-5, 1996 Free Software Foundation, Inc.
This file is part of GNU CC. This file is part of GNU CC.
...@@ -480,10 +480,7 @@ extern char *mktemp (); ...@@ -480,10 +480,7 @@ extern char *mktemp ();
#endif #endif
#define SWITCH_TAKES_ARG(CHAR) \ #define SWITCH_TAKES_ARG(CHAR) \
((CHAR) == 'D' || (CHAR) == 'U' || (CHAR) == 'o' \ (DEFAULT_SWITCH_TAKES_ARG (CHAR) || (CHAR) == 'G')
|| (CHAR) == 'e' || (CHAR) == 'T' || (CHAR) == 'u' \
|| (CHAR) == 'I' || (CHAR) == 'm' \
|| (CHAR) == 'L' || (CHAR) == 'A' || (CHAR) == 'G')
/* Sometimes certain combinations of command options do not make sense /* Sometimes certain combinations of command options do not make sense
on a particular target machine. You can define a macro on a particular target machine. You can define a macro
......
/* Definitions of target machine for GNU compiler, for SPARC running Solaris 2 /* Definitions of target machine for GNU compiler, for SPARC running Solaris 2
Copyright 1992, 1995 Free Software Foundation, Inc. Copyright 1992, 1995, 1996 Free Software Foundation, Inc.
Contributed by Ron Guilmette (rfg@netcom.com).
Written by Ron Guilmette (rfg@netcom.com).
Additional changes by David V. Henkel-Wallace (gumby@cygnus.com). Additional changes by David V. Henkel-Wallace (gumby@cygnus.com).
This file is part of GNU CC. This file is part of GNU CC.
...@@ -139,16 +138,7 @@ Boston, MA 02111-1307, USA. */ ...@@ -139,16 +138,7 @@ Boston, MA 02111-1307, USA. */
#undef SWITCH_TAKES_ARG #undef SWITCH_TAKES_ARG
#define SWITCH_TAKES_ARG(CHAR) \ #define SWITCH_TAKES_ARG(CHAR) \
( (CHAR) == 'D' \ (DEFAULT_SWITCH_TAKES_ARG(CHAR) \
|| (CHAR) == 'U' \
|| (CHAR) == 'o' \
|| (CHAR) == 'e' \
|| (CHAR) == 'u' \
|| (CHAR) == 'I' \
|| (CHAR) == 'm' \
|| (CHAR) == 'L' \
|| (CHAR) == 'R' \
|| (CHAR) == 'A' \
|| (CHAR) == 'h' \ || (CHAR) == 'h' \
|| (CHAR) == 'x' \ || (CHAR) == 'x' \
|| (CHAR) == 'z') || (CHAR) == 'z')
......
...@@ -53,15 +53,7 @@ Boston, MA 02111-1307, USA. ...@@ -53,15 +53,7 @@ Boston, MA 02111-1307, USA.
thing as a -T option for svr4. */ thing as a -T option for svr4. */
#define SWITCH_TAKES_ARG(CHAR) \ #define SWITCH_TAKES_ARG(CHAR) \
( (CHAR) == 'D' \ (DEFAULT_SWITCH_TAKES_ARG (CHAR) \
|| (CHAR) == 'U' \
|| (CHAR) == 'o' \
|| (CHAR) == 'e' \
|| (CHAR) == 'u' \
|| (CHAR) == 'I' \
|| (CHAR) == 'm' \
|| (CHAR) == 'L' \
|| (CHAR) == 'A' \
|| (CHAR) == 'h' \ || (CHAR) == 'h' \
|| (CHAR) == 'x' \ || (CHAR) == 'x' \
|| (CHAR) == 'z') || (CHAR) == 'z')
......
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