| 1 |
/* Definitions for Intel IA-64 running FreeBSD using the ELF format |
| 2 |
Copyright (C) 2001-2025 Free Software Foundation, Inc. |
| 3 |
Contributed by David E. O'Brien <[email protected]> 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 3, 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 COPYING3. If not see |
| 19 |
<http://www.gnu.org/licenses/>. */ |
| 20 |
|
| 21 |
#undef SUBTARGET_EXTRA_SPECS |
| 22 |
#define SUBTARGET_EXTRA_SPECS \ |
| 23 |
{ "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER } |
| 24 |
|
| 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}}" |
| 35 |
|
| 36 |
|
| 37 |
/************************[ Target stuff ]***********************************/ |
| 38 |
|
| 39 |
/* Define the actual types of some ANSI-mandated types. |
| 40 |
Needs to agree with <machine/ansi.h>. GCC defaults come from c-decl.cc, |
| 41 |
c-common.cc, and config/<arch>/<arch>.h. */ |
| 42 |
|
| 43 |
/* Earlier headers may get this wrong for FreeBSD. |
| 44 |
We use the GCC defaults instead. */ |
| 45 |
#undef WCHAR_TYPE |
| 46 |
|
| 47 |
#undef WCHAR_TYPE_SIZE |
| 48 |
#define WCHAR_TYPE_SIZE 32 |
| 49 |
|
| 50 |
#define TARGET_ELF 1 |
| 51 |
|
| 52 |
#define JMP_BUF_SIZE 76 |