Deleted Added
full compact
freebsd.h (46118) freebsd.h (46122)
1/* $Id: freebsd.h,v 1.8 1999/04/22 17:45:01 obrien Exp $ */
1/* $Id: freebsd.h,v 1.9 1999/04/27 15:43:56 obrien Exp $ */
2/* Base configuration file for all FreeBSD targets.
3 Copyright (C) 1999 Free Software Foundation, Inc.
4
5This file is part of GNU CC.
6
7GNU CC is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2, or (at your option)

--- 15 unchanged lines hidden (view full) ---

25 Adapted from /usr/src/contrib/gcc/config/i386/freebsd.h &
26 egcs/gcc/config/i386/freebsd-elf.h version by David O'Brien */
27
28
29/* Don't assume anything about the header files. */
30#undef NO_IMPLICIT_EXTERN_C
31#define NO_IMPLICIT_EXTERN_C
32
2/* Base configuration file for all FreeBSD targets.
3 Copyright (C) 1999 Free Software Foundation, Inc.
4
5This file is part of GNU CC.
6
7GNU CC is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2, or (at your option)

--- 15 unchanged lines hidden (view full) ---

25 Adapted from /usr/src/contrib/gcc/config/i386/freebsd.h &
26 egcs/gcc/config/i386/freebsd-elf.h version by David O'Brien */
27
28
29/* Don't assume anything about the header files. */
30#undef NO_IMPLICIT_EXTERN_C
31#define NO_IMPLICIT_EXTERN_C
32
33/* This defines which switch letters take arguments. On svr4, most of
33/* This defines which switch letters take arguments. On FreeBSD, most of
34 the normal cases (defined in gcc.c) apply, and we also have -h* and
34 the normal cases (defined in gcc.c) apply, and we also have -h* and
35 -z* options (for the linker). We have a slightly different mix. We
36 have -R (alias --rpath), no -z, --soname (-h), --assert etc. */
35 -z* options (for the linker) (comming from svr4).
36 We also have -R (alias --rpath), no -z, --soname (-h), --assert etc. */
37
38#define FBSD_SWITCH_TAKES_ARG(CHAR) \
37
38#define FBSD_SWITCH_TAKES_ARG(CHAR) \
39 ( (CHAR) == 'D' \
40 || (CHAR) == 'U' \
41 || (CHAR) == 'o' \
42 || (CHAR) == 'e' \
43 || (CHAR) == 'T' \
44 || (CHAR) == 'u' \
45 || (CHAR) == 'I' \
46 || (CHAR) == 'm' \
47 || (CHAR) == 'x' \
48 || (CHAR) == 'L' \
49 || (CHAR) == 'A' \
50 || (CHAR) == 'V' \
51 || (CHAR) == 'B' \
52 || (CHAR) == 'b' \
39 (DEFAULT_SWITCH_TAKES_ARG (CHAR) \
53 || (CHAR) == 'h' \
54 || (CHAR) == 'z' /* ignored by ld */ \
55 || (CHAR) == 'R')
56
57#define FBSD_WORD_SWITCH_TAKES_ARG(STR) \
58 (DEFAULT_WORD_SWITCH_TAKES_ARG (STR) \
59 || !strcmp (STR, "rpath") || !strcmp (STR, "rpath-link") \
60 || !strcmp (STR, "soname") || !strcmp (STR, "defsym") \

--- 85 unchanged lines hidden ---
40 || (CHAR) == 'h' \
41 || (CHAR) == 'z' /* ignored by ld */ \
42 || (CHAR) == 'R')
43
44#define FBSD_WORD_SWITCH_TAKES_ARG(STR) \
45 (DEFAULT_WORD_SWITCH_TAKES_ARG (STR) \
46 || !strcmp (STR, "rpath") || !strcmp (STR, "rpath-link") \
47 || !strcmp (STR, "soname") || !strcmp (STR, "defsym") \

--- 85 unchanged lines hidden ---