1 /* Configuration for an i386 running GNU with ELF as the target machine. */
4 #define TARGET_VERSION fprintf (stderr, " (i386 GNU)");
6 #undef TARGET_OS_CPP_BUILTINS /* config.gcc includes i386/linux.h. */
7 #define TARGET_OS_CPP_BUILTINS() \
10 HURD_TARGET_OS_CPP_BUILTINS(); \
15 #define CPP_SPEC "%{pthread:-D_REENTRANT} %{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}"
18 #define CC1_SPEC "%(cc1_cpu)"
21 #define LINK_SPEC "-m elf_i386 %{shared:-shared} \
24 %{rdynamic:-export-dynamic} \
25 %{!dynamic-linker:-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}"
40 #define ENDFILE_SPEC \
41 "%{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s"
43 /* FIXME: Is a Hurd-specific fallback mechanism necessary? */
44 #undef MD_UNWIND_SUPPORT