gnu.h revision 169689
1272343Sngie/* Configuration for an i386 running GNU with ELF as the target machine. */ 2272343Sngie 3272343Sngie#undef TARGET_VERSION 4272343Sngie#define TARGET_VERSION fprintf (stderr, " (i386 GNU)"); 5272343Sngie 6272343Sngie#undef TARGET_OS_CPP_BUILTINS /* config.gcc includes i386/linux.h. */ 7272343Sngie#define TARGET_OS_CPP_BUILTINS() \ 8272343Sngie do \ 9272343Sngie { \ 10272343Sngie HURD_TARGET_OS_CPP_BUILTINS(); \ 11272343Sngie } \ 12272343Sngie while (0) 13272343Sngie 14272343Sngie#undef CPP_SPEC 15272343Sngie#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}" 16272343Sngie 17272343Sngie#undef CC1_SPEC 18272343Sngie#define CC1_SPEC "%(cc1_cpu)" 19272343Sngie 20272343Sngie#undef LINK_SPEC 21272343Sngie#define LINK_SPEC "-m elf_i386 %{shared:-shared} \ 22272343Sngie %{!shared: \ 23272343Sngie %{!static: \ 24272343Sngie %{rdynamic:-export-dynamic} \ 25272343Sngie %{!dynamic-linker:-dynamic-linker /lib/ld.so}} \ 26272343Sngie %{static:-static}}" 27272343Sngie 28272343Sngie#undef STARTFILE_SPEC 29272343Sngie#define STARTFILE_SPEC \ 30272343Sngie "%{!shared: \ 31272343Sngie %{!static: \ 32272343Sngie %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \ 33272343Sngie %{static:crt0.o%s}} \ 34272343Sngie crti.o%s %{static:crtbeginT.o%s}\ 35272343Sngie %{!static:%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}" 36272343Sngie 37272343Sngie/* FIXME: Is a Hurd-specific fallback mechanism necessary? */ 38272343Sngie#undef MD_UNWIND_SUPPORT 39272343Sngie