freebsd.h revision 90075
190075Sobrien/* Definitions for Intel IA-64 running FreeBSD using the ELF format 290075Sobrien Copyright (C) 2001 Free Software Foundation, Inc. 390075Sobrien Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi. 490075Sobrien 590075SobrienThis file is part of GNU CC. 690075Sobrien 790075SobrienGNU CC 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 1290075SobrienGNU CC 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 1890075Sobrienalong with GNU CC; see the file COPYING. If not, write to 1990075Sobrienthe Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ 2090075Sobrien 2190075Sobrien 2290075Sobrien#undef LINK_SPEC 2390075Sobrien#define LINK_SPEC \ 2490075Sobrien "%{p:%e`-p' not supported; use `-pg' and gprof(1)} \ 2590075Sobrien %{Wl,*:%*} \ 2690075Sobrien %{assert*} %{R*} %{rpath*} %{defsym*} \ 2790075Sobrien %{shared:-Bshareable %{h*} %{soname*}} \ 2890075Sobrien %{symbolic:-Bsymbolic} \ 2990075Sobrien %{!shared: \ 3090075Sobrien %{!static: \ 3190075Sobrien %{rdynamic:-export-dynamic} \ 3290075Sobrien %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \ 3390075Sobrien %{static:-Bstatic}}" 3490075Sobrien 3590075Sobrien#undef ASM_SPEC 3690075Sobrien#define ASM_SPEC "-x %{mconstant-gp} %{mauto-pic}" 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_UNSIGNED 5090075Sobrien#define WCHAR_UNSIGNED 0 5190075Sobrien 5290075Sobrien#undef WCHAR_TYPE_SIZE 5390075Sobrien#define WCHAR_TYPE_SIZE 32 5490075Sobrien 5590075Sobrien#undef TARGET_VERSION 5690075Sobrien#define TARGET_VERSION fprintf (stderr, " (FreeBSD/IA-64 ELF)"); 5790075Sobrien 5890075Sobrien#define TARGET_ELF 1 5990075Sobrien 6090075Sobrien#define DONT_USE_BUILTIN_SETJMP 6190075Sobrien#define JMP_BUF_SIZE 76 6290075Sobrien 6390075Sobrien/* Output any profiling code before the prologue. */ 6490075Sobrien 6590075Sobrien#undef PROFILE_BEFORE_PROLOGUE 6690075Sobrien#define PROFILE_BEFORE_PROLOGUE 1 67