Deleted Added
full compact
freebsd.h (95811) freebsd.h (117420)
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.
5
6GNU CC 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)

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

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
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.
5
6GNU CC 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)

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

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 95811 2002-04-30 17:22:42Z obrien $ */
29/* $FreeBSD: head/contrib/gcc/config/freebsd.h 117420 2003-07-11 05:09:19Z 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
45#undef CPP_PREDEFINES
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#define CPP_PREDEFINES FBSD_CPP_PREDEFINES
46/* Obsolete, do not define it. */
47
47
48#undef TARGET_OS_CPP_BUILTINS
49#define TARGET_OS_CPP_BUILTINS() FBSD_TARGET_OS_CPP_BUILTINS()
50
48#undef CPP_SPEC
49#define CPP_SPEC FBSD_CPP_SPEC
50
51#undef STARTFILE_SPEC
52#define STARTFILE_SPEC FBSD_STARTFILE_SPEC
53
54#undef ENDFILE_SPEC
55#define ENDFILE_SPEC FBSD_ENDFILE_SPEC

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

63/* All FreeBSD Architectures support the ELF object file format. */
64#undef OBJECT_FORMAT_ELF
65#define OBJECT_FORMAT_ELF 1
66
67/* Don't assume anything about the header files. */
68#undef NO_IMPLICIT_EXTERN_C
69#define NO_IMPLICIT_EXTERN_C 1
70
51#undef CPP_SPEC
52#define CPP_SPEC FBSD_CPP_SPEC
53
54#undef STARTFILE_SPEC
55#define STARTFILE_SPEC FBSD_STARTFILE_SPEC
56
57#undef ENDFILE_SPEC
58#define ENDFILE_SPEC FBSD_ENDFILE_SPEC

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

66/* All FreeBSD Architectures support the ELF object file format. */
67#undef OBJECT_FORMAT_ELF
68#define OBJECT_FORMAT_ELF 1
69
70/* Don't assume anything about the header files. */
71#undef NO_IMPLICIT_EXTERN_C
72#define NO_IMPLICIT_EXTERN_C 1
73
71/* Allow #sccs in preprocessor. */
72#undef SCCS_DIRECTIVE
73#define SCCS_DIRECTIVE 1
74
75/* Make gcc agree with FreeBSD's standard headers (<machine/ansi.h>, etc...) */
76
77#undef WCHAR_TYPE
74/* Make gcc agree with FreeBSD's standard headers (<machine/ansi.h>, etc...) */
75
76#undef WCHAR_TYPE
78#define WCHAR_TYPE "int"
77#define WCHAR_TYPE "int"
79
78
80#undef WCHAR_UNSIGNED
81#define WCHAR_UNSIGNED 0
82
83#ifdef FREEBSD_NATIVE
84#define LIBSTDCXX_PROFILE "-lstdc++_p"
85#endif
86#define MATH_LIBRARY_PROFILE "-lm_p"
87
88/* Code generation parameters. */
89
90/* Writing `int' for a bitfield forces int alignment for the structure. */

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

96 This ensures the configuration knows our system correctly so we can link
97 with libraries compiled with the native cc. */
98#undef NO_DOLLAR_IN_LABEL
99
100/* Used by libgcc2.c. We support file locking with fcntl / F_SETLKW.
101 This enables the test coverage code to use file locking when exiting a
102 program, which avoids race conditions if the program has forked. */
103#define TARGET_HAS_F_SETLKW 1
79#ifdef FREEBSD_NATIVE
80#define LIBSTDCXX_PROFILE "-lstdc++_p"
81#endif
82#define MATH_LIBRARY_PROFILE "-lm_p"
83
84/* Code generation parameters. */
85
86/* Writing `int' for a bitfield forces int alignment for the structure. */

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

92 This ensures the configuration knows our system correctly so we can link
93 with libraries compiled with the native cc. */
94#undef NO_DOLLAR_IN_LABEL
95
96/* Used by libgcc2.c. We support file locking with fcntl / F_SETLKW.
97 This enables the test coverage code to use file locking when exiting a
98 program, which avoids race conditions if the program has forked. */
99#define TARGET_HAS_F_SETLKW 1
104
105
106/************************[ Assembler stuff ]********************************/
107
108
109/************************[ Debugger stuff ]*********************************/