aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>1999-04-22 17:45:01 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>1999-04-22 17:45:01 +0000
commit61d2d44398149c2e4fd1472e72dea1d5460883ce (patch)
tree8e8a4c729f28a6dd13fc1507984be6584efb27ee /contrib
parentd7e19a1d6a16d7f33735a2498f0a27c642a6b63a (diff)
Move `SWITCH_TAKES_ARG' to `FBSD_SWITCH_TAKES_ARG' and `WORD_SWITCH_TAKES_ARG'
to `FBSD_WORD_SWITCH_TAKES_ARG' which allows architectures to tweak these values if needed.
Notes
Notes: svn path=/head/; revision=45940
Diffstat (limited to 'contrib')
-rw-r--r--contrib/gcc/config/freebsd.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/contrib/gcc/config/freebsd.h b/contrib/gcc/config/freebsd.h
index 27becf4e328f..a67eac4a6fd4 100644
--- a/contrib/gcc/config/freebsd.h
+++ b/contrib/gcc/config/freebsd.h
@@ -1,4 +1,4 @@
-/* $Id$ */
+/* $Id: freebsd.h,v 1.7 1999/04/14 00:25:45 obrien Exp $ */
/* Base configuration file for all FreeBSD targets.
Copyright (C) 1999 Free Software Foundation, Inc.
@@ -35,8 +35,7 @@ Boston, MA 02111-1307, USA. */
-z* options (for the linker). We have a slightly different mix. We
have -R (alias --rpath), no -z, --soname (-h), --assert etc. */
-#undef SWITCH_TAKES_ARG
-#define SWITCH_TAKES_ARG(CHAR) \
+#define FBSD_SWITCH_TAKES_ARG(CHAR) \
( (CHAR) == 'D' \
|| (CHAR) == 'U' \
|| (CHAR) == 'o' \
@@ -55,8 +54,7 @@ Boston, MA 02111-1307, USA. */
|| (CHAR) == 'z' /* ignored by ld */ \
|| (CHAR) == 'R')
-#undef WORD_SWITCH_TAKES_ARG
-#define WORD_SWITCH_TAKES_ARG(STR) \
+#define FBSD_WORD_SWITCH_TAKES_ARG(STR) \
(DEFAULT_WORD_SWITCH_TAKES_ARG (STR) \
|| !strcmp (STR, "rpath") || !strcmp (STR, "rpath-link") \
|| !strcmp (STR, "soname") || !strcmp (STR, "defsym") \