xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/host-darwin.h (revision 8feb0f0b7eaff0608f8350bbfa3098827b4bb91b)
11debfc3dSmrg /* Darwin host-specific hook definitions.
2*8feb0f0bSmrg    Copyright (C) 2003-2020 Free Software Foundation, Inc.
31debfc3dSmrg 
41debfc3dSmrg    This file is part of GCC.
51debfc3dSmrg 
61debfc3dSmrg    GCC is free software; you can redistribute it and/or modify it
71debfc3dSmrg    under the terms of the GNU General Public License as published
81debfc3dSmrg    by the Free Software Foundation; either version 3, or (at your
91debfc3dSmrg    option) any later version.
101debfc3dSmrg 
111debfc3dSmrg    GCC is distributed in the hope that it will be useful, but WITHOUT
121debfc3dSmrg    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
131debfc3dSmrg    or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
141debfc3dSmrg    License for more details.
151debfc3dSmrg 
161debfc3dSmrg    You should have received a copy of the GNU General Public License
171debfc3dSmrg    along with GCC; see the file COPYING3.  If not see
181debfc3dSmrg    <http://www.gnu.org/licenses/>.  */
191debfc3dSmrg 
201debfc3dSmrg extern void * darwin_gt_pch_get_address (size_t sz, int fd);
211debfc3dSmrg extern int darwin_gt_pch_use_address (void *addr, size_t sz, int fd,
221debfc3dSmrg 				      size_t off);
231debfc3dSmrg 
241debfc3dSmrg #undef HOST_HOOKS_GT_PCH_GET_ADDRESS
251debfc3dSmrg #define HOST_HOOKS_GT_PCH_GET_ADDRESS darwin_gt_pch_get_address
261debfc3dSmrg #undef HOST_HOOKS_GT_PCH_USE_ADDRESS
271debfc3dSmrg #define HOST_HOOKS_GT_PCH_USE_ADDRESS darwin_gt_pch_use_address
28