1/* Definitions for Intel IA-64 running FreeBSD using the ELF format
2   Copyright (C) 2001, 2004, 2007 Free Software Foundation, Inc.
3   Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi.
4
5This file is part of GCC.
6
7GCC 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 3, or (at your option)
10any later version.
11
12GCC 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 GCC; see the file COPYING3.  If not see
19<http://www.gnu.org/licenses/>.  */
20
21#undef  SUBTARGET_EXTRA_SPECS
22#define SUBTARGET_EXTRA_SPECS \
23  { "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER }
24
25#define LINK_SPEC "							\
26  %{p:%nconsider using `-pg' instead of `-p' with gprof(1)}		\
27  %{assert*} %{R*} %{rpath*} %{defsym*}					\
28  %{shared:-Bshareable %{h*} %{soname*}}				\
29  %{symbolic:-Bsymbolic}						\
30  %{!shared:								\
31    %{!static:								\
32      %{rdynamic:-export-dynamic}					\
33      %{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }}	\
34    %{static:-Bstatic}}"
35
36
37/************************[  Target stuff  ]***********************************/
38
39/* Define the actual types of some ANSI-mandated types.
40   Needs to agree with <machine/ansi.h>.  GCC defaults come from c-decl.c,
41   c-common.c, and config/<arch>/<arch>.h.  */
42
43/* Earlier headers may get this wrong for FreeBSD.
44   We use the GCC defaults instead.  */
45#undef WCHAR_TYPE
46
47#undef  WCHAR_TYPE_SIZE
48#define WCHAR_TYPE_SIZE 32
49
50#undef  TARGET_VERSION
51#define TARGET_VERSION fprintf (stderr, " (FreeBSD/IA-64 ELF)");
52
53#define TARGET_ELF		1
54
55#define JMP_BUF_SIZE  76
56