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