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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [config/] [ia64/] [linux.h] - Blame information for rev 716

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 709 jeremybenn
/* Definitions for ia64-linux target.
2
 
3
Copyright (C) 2000, 2001, 2002, 2003, 2004, 2006,
4
2009, 2010, 2011 Free Software Foundation, Inc.
5
 
6
This file is part of GCC.
7
 
8
GCC is free software; you can redistribute it and/or modify it under
9
the terms of the GNU General Public License as published by the Free
10
Software Foundation; either version 3, or (at your option) any later
11
version.
12
 
13
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
14
WARRANTY; without even the implied warranty of MERCHANTABILITY or
15
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
16
for more details.
17
 
18
Under Section 7 of GPL version 3, you are granted additional
19
permissions described in the GCC Runtime Library Exception, version
20
3.1, as published by the Free Software Foundation.
21
 
22
You should have received a copy of the GNU General Public License and
23
a copy of the GCC Runtime Library Exception along with this program;
24
see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see
25
<http://www.gnu.org/licenses/>.  */
26
 
27
/* This is for -profile to use -lc_p instead of -lc.  */
28
#undef CC1_SPEC
29
#define CC1_SPEC "%{profile:-p} %{G*}"
30
 
31
/* Target OS builtins.  */
32
#define TARGET_OS_CPP_BUILTINS()                \
33
do {                                            \
34
        GNU_USER_TARGET_OS_CPP_BUILTINS();      \
35
        builtin_define("_LONGLONG");            \
36
} while (0)
37
 
38
/* Need to override linux.h STARTFILE_SPEC, since it has crtbeginT.o in.  */
39
#undef STARTFILE_SPEC
40
#ifdef HAVE_LD_PIE
41
#define STARTFILE_SPEC \
42
  "%{!shared: %{pg|p|profile:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}}\
43
   crti.o%s %{shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
44
#else
45
#define STARTFILE_SPEC \
46
  "%{!shared: %{pg|p|profile:gcrt1.o%s;:crt1.o%s}}\
47
   crti.o%s %{shared|pie:crtbeginS.o%s;:crtbegin.o%s}"
48
#endif
49
 
50
/* Similar to standard Linux, but adding -ffast-math support.  */
51
#undef  ENDFILE_SPEC
52
#define ENDFILE_SPEC \
53
  "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \
54
   %{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s"
55
 
56
/* Define this for shared library support because it isn't in the main
57
   linux.h file.  */
58
 
59
#define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-ia64.so.2"
60
 
61
#undef LINK_SPEC
62
#define LINK_SPEC "\
63
  %{shared:-shared} \
64
  %{!shared: \
65
    %{!static: \
66
      %{rdynamic:-export-dynamic} \
67
      -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \
68
      %{static:-static}}"
69
 
70
#define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
71
 
72
#define JMP_BUF_SIZE  76
73
 
74
/* Override linux.h LINK_EH_SPEC definition.
75
   Signalize that because we have fde-glibc, we don't need all C shared libs
76
   linked against -lgcc_s.  */
77
#undef LINK_EH_SPEC
78
#define LINK_EH_SPEC ""
79
 
80
/* Put all *tf routines in libgcc.  */
81
#undef LIBGCC2_HAS_TF_MODE
82
#define LIBGCC2_HAS_TF_MODE 1
83
#undef LIBGCC2_TF_CEXT
84
#define LIBGCC2_TF_CEXT q
85
#define TF_SIZE 113
86
 
87
#undef TARGET_INIT_LIBFUNCS
88
#define TARGET_INIT_LIBFUNCS ia64_soft_fp_init_libfuncs

powered by: WebSVN 2.1.0

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