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

Subversion Repositories scarts

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
/* Definitions for ia64-linux target.  */
2
 
3
/* This macro is a C statement to print on `stderr' a string describing the
4
   particular machine description choice.  */
5
 
6
#define TARGET_VERSION fprintf (stderr, " (IA-64) Linux");
7
 
8
/* This is for -profile to use -lc_p instead of -lc.  */
9
#undef CC1_SPEC
10
#define CC1_SPEC "%{profile:-p} %{G*}"
11
 
12
/* Target OS builtins.  */
13
#define TARGET_OS_CPP_BUILTINS()                \
14
do {                                            \
15
        LINUX_TARGET_OS_CPP_BUILTINS();         \
16
        builtin_define("_LONGLONG");            \
17
} while (0)
18
 
19
/* Need to override linux.h STARTFILE_SPEC, since it has crtbeginT.o in.  */
20
#undef STARTFILE_SPEC
21
#ifdef HAVE_LD_PIE
22
#define STARTFILE_SPEC \
23
  "%{!shared: %{pg|p|profile:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}}\
24
   crti.o%s %{shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
25
#else
26
#define STARTFILE_SPEC \
27
  "%{!shared: %{pg|p|profile:gcrt1.o%s;:crt1.o%s}}\
28
   crti.o%s %{shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
29
#endif
30
 
31
/* Similar to standard Linux, but adding -ffast-math support.  */
32
#undef  ENDFILE_SPEC
33
#define ENDFILE_SPEC \
34
  "%{ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
35
   %{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s"
36
 
37
/* Define this for shared library support because it isn't in the main
38
   linux.h file.  */
39
 
40
#undef LINK_SPEC
41
#define LINK_SPEC "\
42
  %{shared:-shared} \
43
  %{!shared: \
44
    %{!static: \
45
      %{rdynamic:-export-dynamic} \
46
      %{!dynamic-linker:-dynamic-linker /lib/ld-linux-ia64.so.2}} \
47
      %{static:-static}}"
48
 
49
 
50
#define JMP_BUF_SIZE  76
51
 
52
/* Override linux.h LINK_EH_SPEC definition.
53
   Signalize that because we have fde-glibc, we don't need all C shared libs
54
   linked against -lgcc_s.  */
55
#undef LINK_EH_SPEC
56
#define LINK_EH_SPEC ""
57
 
58
#define MD_UNWIND_SUPPORT "config/ia64/linux-unwind.h"

powered by: WebSVN 2.1.0

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