* config/i386/uwin.h: Remove SUBTARGET_PROLOGUE.
[official-gcc.git] / gcc / config / i386 / gnu.h
blobff0ff254bac10f5f65185cfb169d09362d8fbc22
1 /* Configuration for an i386 running GNU with ELF as the target machine. */
3 #undef TARGET_VERSION
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() \
8 do \
9 { \
10 builtin_define_std ("MACH"); \
11 builtin_define_std ("unix"); \
12 builtin_define ("__GNU__"); \
13 builtin_define ("__gnu_hurd__"); \
14 builtin_assert ("system=gnu"); \
15 builtin_assert ("system=mach"); \
16 builtin_assert ("system=posix"); \
17 builtin_assert ("system=unix"); \
18 if (flag_pic) \
19 { \
20 builtin_define ("__PIC__"); \
21 builtin_define ("__pic__"); \
22 } \
23 } \
24 while (0)
26 #undef CPP_SPEC
27 #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}"
29 #undef CC1_SPEC
30 #define CC1_SPEC "%(cc1_cpu)"
32 #undef LINK_SPEC
33 #define LINK_SPEC "-m elf_i386 %{shared:-shared} \
34 %{!shared: \
35 %{!static: \
36 %{rdynamic:-export-dynamic} \
37 %{!dynamic-linker:-dynamic-linker /lib/ld.so}} \
38 %{static:-static}}"
40 #undef STARTFILE_SPEC
41 #define STARTFILE_SPEC \
42 "%{!shared: \
43 %{!static: \
44 %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
45 %{static:crt0.o%s}} \
46 crti.o%s %{static:crtbeginT.o%s}\
47 %{!static:%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
49 /* FIXME: Is a Hurd-specific fallback mechanism necessary? */
50 #undef MD_FALLBACK_FRAME_STATE_FOR