]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - contrib/gcc/config/i386/gnu.h
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / contrib / gcc / config / i386 / gnu.h
1 /* Configuration for an i386 running GNU with ELF as the target machine.  */
2
3 #undef TARGET_VERSION
4 #define TARGET_VERSION fprintf (stderr, " (i386 GNU)");
5
6 #undef TARGET_OS_CPP_BUILTINS /* config.gcc includes i386/linux.h.  */
7 #define TARGET_OS_CPP_BUILTINS()                \
8   do                                            \
9     {                                           \
10         HURD_TARGET_OS_CPP_BUILTINS();          \
11     }                                           \
12   while (0)
13
14 #undef CPP_SPEC
15 #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}"
16
17 #undef CC1_SPEC
18 #define CC1_SPEC "%(cc1_cpu)"
19
20 #undef  LINK_SPEC
21 #define LINK_SPEC "-m elf_i386 %{shared:-shared} \
22   %{!shared: \
23     %{!static: \
24       %{rdynamic:-export-dynamic} \
25       %{!dynamic-linker:-dynamic-linker /lib/ld.so}} \
26     %{static:-static}}"
27
28 #undef  STARTFILE_SPEC
29 #define STARTFILE_SPEC \
30   "%{!shared: \
31      %{!static: \
32        %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
33      %{static:crt0.o%s}} \
34    crti.o%s %{static:crtbeginT.o%s}\
35    %{!static:%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
36
37 /* FIXME: Is a Hurd-specific fallback mechanism necessary?  */
38 #undef MD_UNWIND_SUPPORT