1/* Definitions for Intel 386 running FreeBSD with ELF format 2 Copyright (C) 1996, 2000, 2002, 2004 Free Software Foundation, Inc. 3 Contributed by Eric Youngdale. 4 Modified for stabs-in-ELF by H.J. Lu. 5 Adapted from GNU/Linux version by John Polstra. 6 Continued development by David O'Brien <obrien@freebsd.org> 7 8This file is part of GCC. --- 8 unchanged lines hidden (view full) --- 17MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18GNU General Public License for more details. 19 20You should have received a copy of the GNU General Public License 21along with GCC; see the file COPYING. If not, write to 22the Free Software Foundation, 51 Franklin Street, Fifth Floor, 23Boston, MA 02110-1301, USA. */ 24 |
25/* $FreeBSD: head/contrib/gcc/config/i386/freebsd.h 181534 2008-08-10 19:02:57Z das $ */ |
26 27#undef CC1_SPEC 28#define CC1_SPEC "%(cc1_cpu) %{profile:-p}" 29 30/* Provide a LINK_SPEC appropriate for FreeBSD. Here we provide support 31 for the special GCC options -static and -shared, which allow us to 32 link things in one of these three modes by applying the appropriate 33 combinations of options at link-time. We like to support here for --- 47 unchanged lines hidden (view full) --- 81#undef SUBTARGET_EXTRA_SPECS /* i386.h bogusly defines it. */ 82#define SUBTARGET_EXTRA_SPECS \ 83 { "fbsd_dynamic_linker", FBSD_DYNAMIC_LINKER } 84 85#define TARGET_VERSION fprintf (stderr, " (i386 FreeBSD/ELF)"); 86 87#define TARGET_ELF 1 88 |
89/* Don't default to pcc-struct-return, we want to retain compatibility with 90 older gcc versions AND pcc-struct-return is nonreentrant. 91 (even though the SVR4 ABI for the i386 says that records and unions are 92 returned in memory). */ 93 94#undef DEFAULT_PCC_STRUCT_RETURN 95#define DEFAULT_PCC_STRUCT_RETURN 0 96 --- 145 unchanged lines hidden --- |