Initial import from FreeBSD RELENG_4:
[dragonfly.git] / contrib / gcc / config / xm-freebsd.h
1 /* Configuration for GNU C-compiler for hosts running FreeBSD.
2    Copyright (C) 1994, 1995 Free Software Foundation, Inc.
3
4 This file is part of GNU CC.
5
6 GNU CC is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2, or (at your option)
9 any later version.
10
11 GNU CC is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with GNU CC; see the file COPYING.  If not, write to
18 the Free Software Foundation, 59 Temple Place - Suite 330,
19 Boston, MA 02111-1307, USA.  */
20
21 /* This file defines machine-independent things specific to a host
22    running FreeBSD.  This file should not be specified as $xm_file itself;
23    instead $xm_file should be CPU/xm-freebsd.h, which should include both
24    CPU/xm-CPU.h and this file xm-freebsd.h.  */
25
26 #ifndef HAVE_ATEXIT
27 #define HAVE_ATEXIT
28 #endif
29
30 /* Tell gcc and collect2 that FreeBSD targets support putenv(3).  */
31 #define HAVE_PUTENV
32
33 /* We have _sys_siglist, but the declaration in <signal.h> conflicts with
34    the declarations in collect2.c and mips-tfile.c, so disable the declarations
35    in those files.  */
36
37 #define SYS_SIGLIST_DECLARED