OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [config/] [i386/] [gnu.h] - Blame information for rev 12

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
/* 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
        if (flag_pic)                           \
12
          {                                     \
13
            builtin_define ("__PIC__");         \
14
            builtin_define ("__pic__");         \
15
          }                                     \
16
    }                                           \
17
  while (0)
18
 
19
#undef CPP_SPEC
20
#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{bsd:-D_BSD_SOURCE}"
21
 
22
#undef CC1_SPEC
23
#define CC1_SPEC "%(cc1_cpu)"
24
 
25
#undef  LINK_SPEC
26
#define LINK_SPEC "-m elf_i386 %{shared:-shared} \
27
  %{!shared: \
28
    %{!static: \
29
      %{rdynamic:-export-dynamic} \
30
      %{!dynamic-linker:-dynamic-linker /lib/ld.so}} \
31
    %{static:-static}}"
32
 
33
#undef  STARTFILE_SPEC
34
#define STARTFILE_SPEC \
35
  "%{!shared: \
36
     %{!static: \
37
       %{pg:gcrt1.o%s} %{!pg:%{p:gcrt1.o%s} %{!p:crt1.o%s}}} \
38
     %{static:crt0.o%s}} \
39
   crti.o%s %{static:crtbeginT.o%s}\
40
   %{!static:%{!shared:crtbegin.o%s} %{shared:crtbeginS.o%s}}"
41
 
42
/* FIXME: Is a Hurd-specific fallback mechanism necessary?  */
43
#undef MD_UNWIND_SUPPORT

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.