summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-03-05 17:38:36 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-03-05 17:38:36 +0000
commit8599e15ab9b70207f5e8386b92fc169d0b801d6b (patch)
treeb215902f23d70b3a4231c8b281460f3903aa65f3 /gnu/usr.bin
parent9e9cda00e48ecf10a10d57213db668b86e8ae9f3 (diff)
Regular fragments to avoid surprises.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/gcc/config/i386/xm-openbsd.h23
-rw-r--r--gnu/usr.bin/gcc/config/m68k/xm-openbsd.h23
-rw-r--r--gnu/usr.bin/gcc/config/m88k/xm-openbsd.h26
-rw-r--r--gnu/usr.bin/gcc/config/mips/xm-openbsd.h25
-rw-r--r--gnu/usr.bin/gcc/config/ns32k/xm-openbsd.h26
-rw-r--r--gnu/usr.bin/gcc/config/rs6000/xm-openbsd.h32
-rw-r--r--gnu/usr.bin/gcc/config/sparc/xm-openbsd.h23
-rw-r--r--gnu/usr.bin/gcc/config/t-openbsd6
-rw-r--r--gnu/usr.bin/gcc/config/vax/xm-openbsd.h22
9 files changed, 200 insertions, 6 deletions
diff --git a/gnu/usr.bin/gcc/config/i386/xm-openbsd.h b/gnu/usr.bin/gcc/config/i386/xm-openbsd.h
new file mode 100644
index 00000000000..1a79e83bc4a
--- /dev/null
+++ b/gnu/usr.bin/gcc/config/i386/xm-openbsd.h
@@ -0,0 +1,23 @@
+/* Configuration file for i386 hosts running 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. */
+
+#include <xm-openbsd.h>
+#include <i386/xm-i386.h>
+
diff --git a/gnu/usr.bin/gcc/config/m68k/xm-openbsd.h b/gnu/usr.bin/gcc/config/m68k/xm-openbsd.h
new file mode 100644
index 00000000000..c4312ff8725
--- /dev/null
+++ b/gnu/usr.bin/gcc/config/m68k/xm-openbsd.h
@@ -0,0 +1,23 @@
+/* Configuration file for an host running m68k 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. */
+
+#include <xm-openbsd.h>
+#include <m68k/xm-m68k.h>
+
diff --git a/gnu/usr.bin/gcc/config/m88k/xm-openbsd.h b/gnu/usr.bin/gcc/config/m88k/xm-openbsd.h
index fbd8b39f95f..49cb60e6004 100644
--- a/gnu/usr.bin/gcc/config/m88k/xm-openbsd.h
+++ b/gnu/usr.bin/gcc/config/m88k/xm-openbsd.h
@@ -1,4 +1,26 @@
-/* Configuration for GCC for Motorola 88k running OpenBSD as host. */
+/* Configuration file for an host running m88k 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. */
-#include <m88k/xm-m88k.h>
#include <xm-openbsd.h>
+#include <m88k/xm-m88k.h>
+
+/* Remove base m88k idiosyncrasies. */
+#undef USG
+#undef NO_SYS_SIGLIST
diff --git a/gnu/usr.bin/gcc/config/mips/xm-openbsd.h b/gnu/usr.bin/gcc/config/mips/xm-openbsd.h
new file mode 100644
index 00000000000..a36204bca57
--- /dev/null
+++ b/gnu/usr.bin/gcc/config/mips/xm-openbsd.h
@@ -0,0 +1,25 @@
+/* Configuration file for an host running mips 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. */
+
+#include <xm-openbsd.h>
+#include <mips/xm-mips.h>
+
+/* We're NOT systemV. */
+#undef USG
diff --git a/gnu/usr.bin/gcc/config/ns32k/xm-openbsd.h b/gnu/usr.bin/gcc/config/ns32k/xm-openbsd.h
index f8679c8e070..348cf41838f 100644
--- a/gnu/usr.bin/gcc/config/ns32k/xm-openbsd.h
+++ b/gnu/usr.bin/gcc/config/ns32k/xm-openbsd.h
@@ -1,9 +1,27 @@
-/* Configuration for GCC for ns32k running OpenBSD as host. */
+/* Configuration file for an host running ns32k 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. */
+
+#include <xm-openbsd.h>
#include <ns32k/xm-ns32k.h>
-/* ns32k/xm-ns32k.h defines these macros, but we don't need them */
-#undef memcmp
+/* Remove ns32k idiosyncrasies. */
#undef memcpy
#undef memset
-
+#undef memcmp
diff --git a/gnu/usr.bin/gcc/config/rs6000/xm-openbsd.h b/gnu/usr.bin/gcc/config/rs6000/xm-openbsd.h
new file mode 100644
index 00000000000..89319753731
--- /dev/null
+++ b/gnu/usr.bin/gcc/config/rs6000/xm-openbsd.h
@@ -0,0 +1,32 @@
+/* Configuration file for an host running rs6000 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. */
+
+#include <xm-openbsd.h>
+#include <rs6000/xm-rs6000.h>
+
+/* Don't get mistaken for systemV. */
+#undef USG
+
+/* OpenBSD is using the gnu-linker, and has no COFF dynamic library
+ specific support on rs6000 yet. */
+#undef COLLECT_EXPORT_LIST
+
+/* OpenBSD is not a broken system... */
+#undef IO_BUFFER_SIZE
diff --git a/gnu/usr.bin/gcc/config/sparc/xm-openbsd.h b/gnu/usr.bin/gcc/config/sparc/xm-openbsd.h
new file mode 100644
index 00000000000..2df7fb3e363
--- /dev/null
+++ b/gnu/usr.bin/gcc/config/sparc/xm-openbsd.h
@@ -0,0 +1,23 @@
+/* Configuration file for an host running sparc 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. */
+
+#include <xm-openbsd.h>
+#include <sparc/xm-sparc.h>
+
diff --git a/gnu/usr.bin/gcc/config/t-openbsd b/gnu/usr.bin/gcc/config/t-openbsd
new file mode 100644
index 00000000000..2f52f9487a3
--- /dev/null
+++ b/gnu/usr.bin/gcc/config/t-openbsd
@@ -0,0 +1,6 @@
+# Don't run fixproto
+STMP_FIXPROTO =
+
+# We don't need GCC's own include files but we do need lang specific ones.
+USER_H =
+INSTALL_ASSERT_H =
diff --git a/gnu/usr.bin/gcc/config/vax/xm-openbsd.h b/gnu/usr.bin/gcc/config/vax/xm-openbsd.h
new file mode 100644
index 00000000000..ade34d0b0fd
--- /dev/null
+++ b/gnu/usr.bin/gcc/config/vax/xm-openbsd.h
@@ -0,0 +1,22 @@
+/* Configuration file for an host running vax 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. */
+
+#include <xm-openbsd.h>
+#include <xm/xm-vax.h>