190075Sobrien/* Definitions for Intel IA-64 running FreeBSD using the ELF format
2132718Skan   Copyright (C) 2001, 2004 Free Software Foundation, Inc.
390075Sobrien   Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi.
490075Sobrien
5132718SkanThis file is part of GCC.
690075Sobrien
7132718SkanGCC is free software; you can redistribute it and/or modify
890075Sobrienit under the terms of the GNU General Public License as published by
990075Sobrienthe Free Software Foundation; either version 2, or (at your option)
1090075Sobrienany later version.
1190075Sobrien
12132718SkanGCC is distributed in the hope that it will be useful,
1390075Sobrienbut WITHOUT ANY WARRANTY; without even the implied warranty of
1490075SobrienMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
1590075SobrienGNU General Public License for more details.
1690075Sobrien
1790075SobrienYou should have received a copy of the GNU General Public License
18132718Skanalong with GCC; see the file COPYING.  If not, write to
19169689Skanthe Free Software Foundation, 51 Franklin Street, Fifth Floor,
20169689SkanBoston, MA 02110-1301, USA.  */
2190075Sobrien
22132718Skan#undef  SUBTARGET_EXTRA_SPECS
23132718Skan#define SUBTARGET_EXTRA_SPECS \
24132718Skan  { "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER }
2590075Sobrien
26132718Skan#define LINK_SPEC "							\
27132718Skan  %{p:%nconsider using `-pg' instead of `-p' with gprof(1)}		\
2890075Sobrien  %{assert*} %{R*} %{rpath*} %{defsym*}					\
2990075Sobrien  %{shared:-Bshareable %{h*} %{soname*}}				\
30238472Skib  %{!static:--enable-new-dtags}						\
3190075Sobrien  %{symbolic:-Bsymbolic}						\
3290075Sobrien  %{!shared:								\
3390075Sobrien    %{!static:								\
3490075Sobrien      %{rdynamic:-export-dynamic}					\
35132718Skan      %{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }}	\
3690075Sobrien    %{static:-Bstatic}}"
3790075Sobrien
3890075Sobrien
3990075Sobrien/************************[  Target stuff  ]***********************************/
4090075Sobrien
4190075Sobrien/* Define the actual types of some ANSI-mandated types.
4290075Sobrien   Needs to agree with <machine/ansi.h>.  GCC defaults come from c-decl.c,
4390075Sobrien   c-common.c, and config/<arch>/<arch>.h.  */
4490075Sobrien
4590075Sobrien/* Earlier headers may get this wrong for FreeBSD.
4690075Sobrien   We use the GCC defaults instead.  */
4790075Sobrien#undef WCHAR_TYPE
4890075Sobrien
4990075Sobrien#undef  WCHAR_TYPE_SIZE
5090075Sobrien#define WCHAR_TYPE_SIZE 32
5190075Sobrien
5290075Sobrien#undef  TARGET_VERSION
5390075Sobrien#define TARGET_VERSION fprintf (stderr, " (FreeBSD/IA-64 ELF)");
5490075Sobrien
5590075Sobrien#define TARGET_ELF		1
5690075Sobrien
5790075Sobrien#define JMP_BUF_SIZE  76
58