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 5 This file is part of GCC. 6 7 GCC 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 GCC 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 GCC; see the file COPYING. If not, write to 19 the Free Software Foundation, 51 Franklin Street, Fifth Floor, 20 Boston, 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 %{symbolic:-Bsymbolic} \ 31 %{!shared: \ 32 %{!static: \ 33 %{rdynamic:-export-dynamic} \ 34 %{!dynamic-linker:-dynamic-linker %(fbsd_dynamic_linker) }} \ 35 %{static:-Bstatic}}" 36 37 38 /************************[ Target stuff ]***********************************/ 39 40 /* Define the actual types of some ANSI-mandated types. 41 Needs to agree with <machine/ansi.h>. GCC defaults come from c-decl.c, 42 c-common.c, and config/<arch>/<arch>.h. */ 43 44 /* Earlier headers may get this wrong for FreeBSD. 45 We use the GCC defaults instead. */ 46 #undef WCHAR_TYPE 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 57