1/* Definitions for Intel IA-64 running FreeBSD using the ELF format
2   Copyright (C) 2001, 2004 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 2, 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 COPYING.  If not, write to
19the Free Software Foundation, 51 Franklin Street, Fifth Floor,
20Boston, MA 02110-1301, USA.  */
21
22#undef  SUBTARGET_EXTRA_SPECS
23#define SUBTARGET_EXTRA_SPECS \
24  { "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER }
25
26#define LINK_SPEC "							\
27  %{p:%nconsider using `-pg' instead of `-p' with gprof(1)}		\
28  %{assert*} %{R*} %{rpath*} %{defsym*}					\
29  %{shared:-Bshareable %{h*} %{soname*}}				\
30  %{!static:--enable-new-dtags}						\
31  %{symbolic:-Bsymbolic}						\
32  %{!shared:								\
33    %{!static:								\
34      %{rdynamic:-export-dynamic}					\
35      %{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }}	\
36    %{static:-Bstatic}}"
37
38
39/************************[  Target stuff  ]***********************************/
40
41/* Define the actual types of some ANSI-mandated types.
42   Needs to agree with <machine/ansi.h>.  GCC defaults come from c-decl.c,
43   c-common.c, and config/<arch>/<arch>.h.  */
44
45/* Earlier headers may get this wrong for FreeBSD.
46   We use the GCC defaults instead.  */
47#undef WCHAR_TYPE
48
49#undef  WCHAR_TYPE_SIZE
50#define WCHAR_TYPE_SIZE 32
51
52#undef  TARGET_VERSION
53#define TARGET_VERSION fprintf (stderr, " (FreeBSD/IA-64 ELF)");
54
55#define TARGET_ELF		1
56
57#define JMP_BUF_SIZE  76
58