2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git] / gcc / config / ia64 / freebsd.h
blobd337d57d0d6a83f8e4fe492667a46df4b1a970b0
1 /* Definitions for Intel IA-64 running FreeBSD using the ELF format
2 Copyright (C) 2001 Free Software Foundation, Inc.
3 Contributed by David E. O'Brien <obrien@FreeBSD.org> and BSDi.
5 This file is part of GCC.
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.
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.
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, 675 Mass Ave, Cambridge, MA 02139, USA. */
22 #define LINK_SPEC " \
23 %{p:%nconsider using `-pg' instead of `-p' with gprof(1)} \
24 %{Wl,*:%*} \
25 %{assert*} %{R*} %{rpath*} %{defsym*} \
26 %{shared:-Bshareable %{h*} %{soname*}} \
27 %{symbolic:-Bsymbolic} \
28 %{!shared: \
29 %{!static: \
30 %{rdynamic:-export-dynamic} \
31 %{!dynamic-linker:-dynamic-linker /usr/libexec/ld-elf.so.1}} \
32 %{static:-Bstatic}}"
35 /************************[ Target stuff ]***********************************/
37 /* Define the actual types of some ANSI-mandated types.
38 Needs to agree with <machine/ansi.h>. GCC defaults come from c-decl.c,
39 c-common.c, and config/<arch>/<arch>.h. */
41 /* Earlier headers may get this wrong for FreeBSD.
42 We use the GCC defaults instead. */
43 #undef WCHAR_TYPE
45 #undef WCHAR_TYPE_SIZE
46 #define WCHAR_TYPE_SIZE 32
48 #undef TARGET_VERSION
49 #define TARGET_VERSION fprintf (stderr, " (FreeBSD/IA-64 ELF)");
51 #define TARGET_ELF 1
53 #define JMP_BUF_SIZE 76