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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [config/] [xtensa/] [linux.h] - Blame information for rev 154

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
/* Xtensa Linux configuration.
2
   Derived from the configuration for GCC for Intel i386 running Linux.
3
   Copyright (C) 2001, 2002, 2003, 2006, 2007 Free Software Foundation, Inc.
4
 
5
This file is part of GCC.
6
 
7
GCC is free software; you can redistribute it and/or modify it under
8
the terms of the GNU General Public License as published by the Free
9
Software Foundation; either version 3, or (at your option) any later
10
version.
11
 
12
GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13
WARRANTY; without even the implied warranty of MERCHANTABILITY or
14
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15
for more details.
16
 
17
You should have received a copy of the GNU General Public License
18
along with GCC; see the file COPYING3.  If not see
19
<http://www.gnu.org/licenses/>.  */
20
 
21
#define TARGET_OS_CPP_BUILTINS() LINUX_TARGET_OS_CPP_BUILTINS()
22
 
23
#undef SUBTARGET_CPP_SPEC
24
#define SUBTARGET_CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
25
 
26
#undef TARGET_VERSION
27
#define TARGET_VERSION fputs (" (Xtensa GNU/Linux with ELF)", stderr);
28
 
29
#undef WCHAR_TYPE
30
#define WCHAR_TYPE "long int"
31
 
32
#undef WCHAR_TYPE_SIZE
33
#define WCHAR_TYPE_SIZE 32
34
 
35
#undef ASM_SPEC
36
#define ASM_SPEC \
37
 "%{v} \
38
  %{mtext-section-literals:--text-section-literals} \
39
  %{mno-text-section-literals:--no-text-section-literals} \
40
  %{mtarget-align:--target-align} \
41
  %{mno-target-align:--no-target-align} \
42
  %{mlongcalls:--longcalls} \
43
  %{mno-longcalls:--no-longcalls}"
44
 
45
#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
46
 
47
#undef LINK_SPEC
48
#define LINK_SPEC \
49
 "%{shared:-shared} \
50
  %{!shared: \
51
    %{!ibcs: \
52
      %{!static: \
53
        %{rdynamic:-export-dynamic} \
54
        %{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER "}} \
55
      %{static:-static}}}"
56
 
57
#undef LOCAL_LABEL_PREFIX
58
#define LOCAL_LABEL_PREFIX      "."
59
 
60
/* Always enable "-fpic" for Xtensa Linux.  */
61
#define XTENSA_ALWAYS_PIC 1

powered by: WebSVN 2.1.0

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