From e665b9bf7357581b476631fb0b3e932560f8c67a Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Thu, 16 Dec 2010 16:52:50 +0000 Subject: Import toolchains tree svn path=/toolchains/; revision=11073 --- .../recipes/files/gcc/config/m68k/host-amigaos.c | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 m68k-unknown-amigaos/recipes/files/gcc/config/m68k/host-amigaos.c (limited to 'm68k-unknown-amigaos/recipes/files/gcc/config/m68k/host-amigaos.c') 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 -- cgit v1.2.3