Deleted Added
full compact
freebsd.h (117420) freebsd.h (132738)
1/* Base configuration file for all FreeBSD targets.
2 Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
3
1/* Base configuration file for all FreeBSD targets.
2 Copyright (C) 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
3
4This file is part of GNU CC.
4This file is part of GCC.
5
5
6GNU CC is free software; you can redistribute it and/or modify
6GCC is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2, or (at your option)
9any later version.
10
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 2, or (at your option)
9any later version.
10
11GNU CC is distributed in the hope that it will be useful,
11GCC is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with GNU CC; see the file COPYING. If not, write to
17along with GCC; see the file COPYING. If not, write to
18the Free Software Foundation, 59 Temple Place - Suite 330,
19Boston, MA 02111-1307, USA. */
20
21/* Common FreeBSD configuration.
22 All FreeBSD architectures should include this file, which will specify
23 their commonalities.
24 Adapted from gcc/config/i386/freebsd-elf.h by
25 David O'Brien <obrien@FreeBSD.org>.
26 Further work by David O'Brien <obrien@FreeBSD.org> and
27 Loren J. Rittle <ljrittle@acm.org>. */
28
18the Free Software Foundation, 59 Temple Place - Suite 330,
19Boston, MA 02111-1307, USA. */
20
21/* Common FreeBSD configuration.
22 All FreeBSD architectures should include this file, which will specify
23 their commonalities.
24 Adapted from gcc/config/i386/freebsd-elf.h by
25 David O'Brien <obrien@FreeBSD.org>.
26 Further work by David O'Brien <obrien@FreeBSD.org> and
27 Loren J. Rittle <ljrittle@acm.org>. */
28
29/* $FreeBSD: head/contrib/gcc/config/freebsd.h 117420 2003-07-11 05:09:19Z kan $ */
29/* $FreeBSD: head/contrib/gcc/config/freebsd.h 132738 2004-07-28 04:34:05Z kan $ */
30
31/* In case we need to know. */
32#define USING_CONFIG_FREEBSD 1
33
34/* This defines which switch letters take arguments. On FreeBSD, most of
35 the normal cases (defined in gcc.c) apply, and we also have -h* and
36 -z* options (for the linker) (coming from SVR4).
37 We also have -R (alias --rpath), no -z, --soname (-h), --assert etc. */
38
39#undef SWITCH_TAKES_ARG
40#define SWITCH_TAKES_ARG(CHAR) (FBSD_SWITCH_TAKES_ARG(CHAR))
41
42#undef WORD_SWITCH_TAKES_ARG
43#define WORD_SWITCH_TAKES_ARG(STR) (FBSD_WORD_SWITCH_TAKES_ARG(STR))
44
30
31/* In case we need to know. */
32#define USING_CONFIG_FREEBSD 1
33
34/* This defines which switch letters take arguments. On FreeBSD, most of
35 the normal cases (defined in gcc.c) apply, and we also have -h* and
36 -z* options (for the linker) (coming from SVR4).
37 We also have -R (alias --rpath), no -z, --soname (-h), --assert etc. */
38
39#undef SWITCH_TAKES_ARG
40#define SWITCH_TAKES_ARG(CHAR) (FBSD_SWITCH_TAKES_ARG(CHAR))
41
42#undef WORD_SWITCH_TAKES_ARG
43#define WORD_SWITCH_TAKES_ARG(STR) (FBSD_WORD_SWITCH_TAKES_ARG(STR))
44
45#undef CPP_PREDEFINES
46/* Obsolete, do not define it. */
47
48#undef TARGET_OS_CPP_BUILTINS
49#define TARGET_OS_CPP_BUILTINS() FBSD_TARGET_OS_CPP_BUILTINS()
50
51#undef CPP_SPEC
52#define CPP_SPEC FBSD_CPP_SPEC
53
54#undef STARTFILE_SPEC
55#define STARTFILE_SPEC FBSD_STARTFILE_SPEC

--- 44 unchanged lines hidden ---
45#undef TARGET_OS_CPP_BUILTINS
46#define TARGET_OS_CPP_BUILTINS() FBSD_TARGET_OS_CPP_BUILTINS()
47
48#undef CPP_SPEC
49#define CPP_SPEC FBSD_CPP_SPEC
50
51#undef STARTFILE_SPEC
52#define STARTFILE_SPEC FBSD_STARTFILE_SPEC

--- 44 unchanged lines hidden ---