xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/ia64/netbsd.h (revision 36ac495d2b3ea2b9d96377b2143ebfedac224b92)
1 /* Definitions of target machine for GNU compiler,
2    for ia64/ELF NetBSD systems.
3    Copyright (C) 2005 Free Software Foundation, Inc.
4 
5 This file is part of GNU CC.
6 
7 GNU CC is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2, or (at your option)
10 any later version.
11 
12 GNU CC is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 GNU General Public License for more details.
16 
17 You should have received a copy of the GNU General Public License
18 along with GNU CC; see the file COPYING.  If not, write to
19 the Free Software Foundation, 59 Temple Place - Suite 330,
20 Boston, 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