netbsd.h revision 1.5
1/* Definitions of target machine for GNU compiler,
2   for ia64/ELF NetBSD systems.
3   Copyright (C) 2005 Free Software Foundation, Inc.
4
5This file is part of GNU CC.
6
7GNU CC is free software; you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation; either version 2, or (at your option)
10any later version.
11
12GNU CC is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU CC; see the file COPYING.  If not, write to
19the Free Software Foundation, 59 Temple Place - Suite 330,
20Boston, MA 02111-1307, USA.  */
21
22#define TARGET_OS_CPP_BUILTINS()		\
23  do						\
24    {						\
25      NETBSD_OS_CPP_BUILTINS_ELF();		\
26    }						\
27  while (0)
28
29
30/* Provide a LINK_SPEC appropriate for a NetBSD/ia64 ELF target.  */
31
32#undef LINK_SPEC
33#define LINK_SPEC "%(netbsd_link_spec)"
34
35#define NETBSD_ENTRY_POINT "_start"
36
37
38/* Provide a CPP_SPEC appropriate for NetBSD.  */
39
40#undef CPP_SPEC
41#define CPP_SPEC "%(netbsd_cpp_spec)"
42
43#undef TARGET_INIT_LIBFUNCS
44#define TARGET_INIT_LIBFUNCS ia64_soft_fp_init_libfuncs
45
46#if 0
47/* Attempt to enable execute permissions on the stack.  */
48#define TRANSFER_FROM_TRAMPOLINE NETBSD_ENABLE_EXECUTE_STACK
49#endif
50
51/* Don't have TFmode support (yet?). */
52#define IA64_NO_LIBGCC_TFMODE
53