diff options
author | Geoffrey Keating <geoffk@apple.com> | 2005-04-06 08:41:37 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2005-04-06 08:41:37 +0000 |
commit | ed23bd30c12f3dfeb1f74a19c10d83109b92cf56 (patch) | |
tree | 5aa04462241caebfe03d88f0811f2affe93e6d35 /gcc/config/i386/host-i386-darwin.c | |
parent | 0df9bf6371e21b575b77a684bd6689d8691db945 (diff) | |
download | gcc-ed23bd30c12f3dfeb1f74a19c10d83109b92cf56.zip gcc-ed23bd30c12f3dfeb1f74a19c10d83109b92cf56.tar.gz gcc-ed23bd30c12f3dfeb1f74a19c10d83109b92cf56.tar.bz2 |
config.host: Add a section for generic hosts, and a subsection for Darwin.
* config.host: Add a section for generic hosts, and a subsection
for Darwin. Add a case for x86-darwin. Update ppc-darwin case.
* config/host-darwin.c: New, split out of config/rs6000/host-darwin.c.
* config/host-darwin.h: New.
* config/x-darwin: New.
* config/i386/host-i386-darwin.c: New.
* config/i386/x-darwin: New.
* config/rs6000/host-darwin.c: Include host-darwin.h.
(darwin_rs6000_gt_pch_get_address): Move to config/host-darwin.c.
(darwin_rs6000_gt_pch_use_address): Likewise.
* config/rs6000/x-darwin: Change name of .o built, update
dependencies for changes to rs6000/host-darwin.c.
From-SVN: r97709
Diffstat (limited to 'gcc/config/i386/host-i386-darwin.c')
-rw-r--r-- | gcc/config/i386/host-i386-darwin.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gcc/config/i386/host-i386-darwin.c b/gcc/config/i386/host-i386-darwin.c new file mode 100644 index 0000000..80a9a9a --- /dev/null +++ b/gcc/config/i386/host-i386-darwin.c @@ -0,0 +1,31 @@ +/* i386-darwin host-specific hook definitions. + Copyright (C) 2003, 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 "hosthooks.h" +#include "hosthooks-def.h" +#include "config/host-darwin.h" + +/* Darwin doesn't do anything special for x86 hosts; this file exists just + to include config/host-darwin.h. */ + +const struct host_hooks host_hooks = HOST_HOOKS_INITIALIZER; |