1 /* Configuration for an i386 running GNU with ELF as the target machine. */
4 Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
5 2005, 2007, 2008, 2011 Free Software Foundation, Inc.
7 This file is part of GCC.
9 GCC is free software: you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation, either version 3 of the License, or
12 (at your option) any later version.
14 GCC is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with GCC. If not, see <http://www.gnu.org/licenses/>.
23 #define GNU_USER_LINK_EMULATION "elf_i386"
25 #undef GNU_USER_DYNAMIC_LINKER
26 #define GNU_USER_DYNAMIC_LINKER "/lib/ld.so"
29 #if defined HAVE_LD_PIE
30 #define STARTFILE_SPEC \
31 "%{!shared: %{pg|p|profile:gcrt0.o%s;pie:Scrt1.o%s;static:crt0.o%s;:crt1.o%s}} \
32 crti.o%s %{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
34 #define STARTFILE_SPEC \
35 "%{!shared: %{pg|p|profile:gcrt0.o%s;static:crt0.o%s;:crt1.o%s}} \
36 crti.o%s %{static:crtbeginT.o%s;shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
39 #ifdef TARGET_LIBC_PROVIDES_SSP
40 /* Not supported yet. */
41 #undef TARGET_THREAD_SSP_OFFSET