summaryrefslogtreecommitdiff
path: root/m68k-unknown-amigaos/recipes/files/gcc/config/m68k/host-amigaos.c
diff options
context:
space:
mode:
Diffstat (limited to 'm68k-unknown-amigaos/recipes/files/gcc/config/m68k/host-amigaos.c')
-rw-r--r--m68k-unknown-amigaos/recipes/files/gcc/config/m68k/host-amigaos.c42
1 files changed, 42 insertions, 0 deletions
diff --git a/m68k-unknown-amigaos/recipes/files/gcc/config/m68k/host-amigaos.c b/m68k-unknown-amigaos/recipes/files/gcc/config/m68k/host-amigaos.c
new file mode 100644
index 0000000..8c72d51
--- /dev/null
+++ b/m68k-unknown-amigaos/recipes/files/gcc/config/m68k/host-amigaos.c
@@ -0,0 +1,42 @@
+/* AmigaOS/m68k host-specific hook definitions.
+ Copyright (C) 2003 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 "hosthooks.h"
+#include "hosthooks-def.h"
+#include "toplev.h"
+
+static void * amigaos_m68k_gt_pch_get_address (size_t);
+
+/* Return the address of the PCH address space, if the PCH will fit in it. */
+
+static void *
+amigaos_m68k_gt_pch_get_address (size_t sz ATTRIBUTE_UNUSED)
+{
+ fatal_error ("PCH not supported\n");
+}
+
+#undef HOST_HOOKS_GT_PCH_GET_ADDRESS
+#define HOST_HOOKS_GT_PCH_GET_ADDRESS amigaos_m68k_gt_pch_get_address
+
+const struct host_hooks host_hooks = HOST_HOOKS_INITIALIZER; \ No newline at end of file