diff options
author | Marc Espie <espie@cvs.openbsd.org> | 1999-02-18 19:04:30 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-02-18 12:04:30 -0700 |
commit | 1b4a979b011b22a370aaed6f57f4caaf3cf0d07a (patch) | |
tree | ed40c9a6775de3d9602c1dbb4d1fa8c0bdcb20bc /gcc/config/xm-openbsd.h | |
parent | fab7445ab35559feb32b1334be28003331d085b6 (diff) | |
download | gcc-1b4a979b011b22a370aaed6f57f4caaf3cf0d07a.zip gcc-1b4a979b011b22a370aaed6f57f4caaf3cf0d07a.tar.gz gcc-1b4a979b011b22a370aaed6f57f4caaf3cf0d07a.tar.bz2 |
* configure.in :Handle OpenBSD platforms.
* configure: Rebuilt.
* config/openbsd.h: New file.
* config/xm-openbsd.h: New file.
* config/t-openbsd: New file.
* config/t-openbsd-thread: New file.
From-SVN: r25293
Diffstat (limited to 'gcc/config/xm-openbsd.h')
-rw-r--r-- | gcc/config/xm-openbsd.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/gcc/config/xm-openbsd.h b/gcc/config/xm-openbsd.h new file mode 100644 index 0000000..74a8421 --- /dev/null +++ b/gcc/config/xm-openbsd.h @@ -0,0 +1,35 @@ +/* Configuration fragment for hosts running a version of OpenBSD. + Copyright (C) 1999 Free Software Foundation, Inc. + +This file is part of GNU CC. + +GNU CC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU CC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU CC; see the file COPYING. If not, write to +the Free Software Foundation, 59 Temple Place - Suite 330, +Boston, MA 02111-1307, USA. */ +/* This file gets included by all architectures. It holds stuff + that ought to be defined when hosting a compiler on an OpenBSD + machine, independently of the architecture. It's included by + ${cpu_type}/xm-openbsd.h, not included directly. */ + +/* OpenBSD is trying to be POSIX-compliant, to the point of fixing + problems that may occur with gcc's interpretation. */ +#undef POSIX +#define POSIX + +/* Ensure we get gnu C's defaults. */ +#ifdef __GNUC__ +#define alloca __builtin_alloca +#endif + + |