2014-03-25 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / config / ia64 / freebsd.h
blob505ce8ee0daa70e8e0e556a4a75eb27b3ea42bc8
1 /* Definitions for Intel IA-64 running FreeBSD using the ELF format
2 Copyright (C) 2001-2014 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 3, 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 COPYING3. If not see
19 <http://www.gnu.org/licenses/>. */
21 #undef SUBTARGET_EXTRA_SPECS
22 #define SUBTARGET_EXTRA_SPECS \
23 { "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER }
25 #define LINK_SPEC " \
26 %{p:%nconsider using '-pg' instead of '-p' with gprof(1)} \
27 %{assert*} %{R*} %{rpath*} %{defsym*} \
28 %{shared:-Bshareable %{h*} %{soname*}} \
29 %{symbolic:-Bsymbolic} \
30 %{!shared: \
31 %{!static: \
32 %{rdynamic:-export-dynamic} \
33 -dynamic-linker %(fbsd_dynamic_linker) } \
34 %{static:-Bstatic}}"
37 /************************[ Target stuff ]***********************************/
39 /* Define the actual types of some ANSI-mandated types.
40 Needs to agree with <machine/ansi.h>. GCC defaults come from c-decl.c,
41 c-common.c, and config/<arch>/<arch>.h. */
43 /* Earlier headers may get this wrong for FreeBSD.
44 We use the GCC defaults instead. */
45 #undef WCHAR_TYPE
47 #undef WCHAR_TYPE_SIZE
48 #define WCHAR_TYPE_SIZE 32
50 #define TARGET_ELF 1
52 #define JMP_BUF_SIZE 76