diff options
author | obrien <obrien@FreeBSD.org> | 1999-04-22 17:45:01 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 1999-04-22 17:45:01 +0000 |
commit | dbaaa127aaf01ccbc3241de3f13f3e11d54c31cf (patch) | |
tree | 2ed0fc0ec98158b2b4f9abcbecf83f595a7b5646 /contrib | |
parent | 14244169a1fe71d3f0cb870e96aea00c7cd7aea1 (diff) | |
download | FreeBSD-src-dbaaa127aaf01ccbc3241de3f13f3e11d54c31cf.zip FreeBSD-src-dbaaa127aaf01ccbc3241de3f13f3e11d54c31cf.tar.gz |
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.
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/gcc/config/freebsd.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/contrib/gcc/config/freebsd.h b/contrib/gcc/config/freebsd.h index 27becf4..a67eac4 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") \ |