OSDN Git Service

2002-04-11 David O'Brien <obrien@FreeBSD.org>
[pf3gnuchains/gcc-fork.git] / gcc / config / ia64 / freebsd.h
1 /* Definitions for Intel IA-64 running FreeBSD using the ELF format
2    Copyright (C) 2001 Free Software Foundation, Inc.
3    Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi.
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, 675 Mass Ave, Cambridge, MA 02139, USA.  */
20
21
22 #define LINK_SPEC                                                       \
23  "%{p:%e`-p' not supported; use `-pg' and gprof(1)}                     \
24   %{Wl,*:%*}                                                            \
25   %{assert*} %{R*} %{rpath*} %{defsym*}                                 \
26   %{shared:-Bshareable %{h*} %{soname*}}                                \
27   %{symbolic:-Bsymbolic}                                                \
28   %{!shared:                                                            \
29     %{!static:                                                          \
30       %{rdynamic:-export-dynamic}                                       \
31       %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}}      \
32     %{static:-Bstatic}}"
33
34
35 /************************[  Target stuff  ]***********************************/
36
37 /* Define the actual types of some ANSI-mandated types.  
38    Needs to agree with <machine/ansi.h>.  GCC defaults come from c-decl.c,
39    c-common.c, and config/<arch>/<arch>.h.  */
40
41 /* Earlier headers may get this wrong for FreeBSD.
42    We use the GCC defaults instead.  */
43 #undef WCHAR_TYPE
44
45 #undef  WCHAR_UNSIGNED
46 #define WCHAR_UNSIGNED 0
47
48 #undef  WCHAR_TYPE_SIZE
49 #define WCHAR_TYPE_SIZE 32
50
51 #undef  TARGET_VERSION
52 #define TARGET_VERSION fprintf (stderr, " (FreeBSD/IA-64 ELF)");
53
54 #define TARGET_ELF              1
55
56 #define JMP_BUF_SIZE  76