$OpenBSD: patch-gcc_config_host-openbsd_c,v 1.2 2005/03/07 16:30:06 espie Exp $
--- gcc/config/host-openbsd.c.orig	Mon Jan 31 15:01:58 2005
+++ gcc/config/host-openbsd.c	Mon Jan 31 16:12:04 2005
@@ -0,0 +1,41 @@
+/* OpenBSD host-specific hook definitions.
+   Copyright (C) 2005 Free Software Foundation, Inc.
+
+   This file is part of GCC.
+
+   GCC 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.
+
+   GCC 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 GCC; see the file COPYING.  If not, write to the
+   Free Software Foundation, 59 Temple Place - Suite 330, Boston,
+   MA 02111-1307, USA.  */
+
+#include "config.h"
+#include "system.h"
+#include "coretypes.h"
+#include <sys/mman.h>
+#include "hosthooks.h"
+#include "hosthooks-def.h"
+
+
+#undef HOST_HOOKS_GT_PCH_USE_ADDRESS
+#define HOST_HOOKS_GT_PCH_USE_ADDRESS openbsd_gt_pch_use_address
+
+static int
+openbsd_gt_pch_use_address (void *base ATTRIBUTE_UNUSED, 
+  size_t size ATTRIBUTE_UNUSED, int fd ATTRIBUTE_UNUSED, 
+  size_t offset ATTRIBUTE_UNUSED)
+{
+  return -1;
+}
+
+
+const struct host_hooks host_hooks = HOST_HOOKS_INITIALIZER;
