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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 709 jeremybenn
/* Xtensa Linux configuration.
2
   Derived from the configuration for GCC for Intel i386 running Linux.
3
   Copyright (C) 2001, 2002, 2003, 2006, 2007, 2008, 2010, 2011
4
   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
You should have received a copy of the GNU General Public License
19
along with GCC; see the file COPYING3.  If not see
20
<http://www.gnu.org/licenses/>.  */
21
 
22
#define TARGET_OS_CPP_BUILTINS() GNU_USER_TARGET_OS_CPP_BUILTINS()
23
 
24
#undef SUBTARGET_CPP_SPEC
25
#define SUBTARGET_CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}"
26
 
27
#undef SIZE_TYPE
28
#define SIZE_TYPE "unsigned int"
29
 
30
#undef PTRDIFF_TYPE
31
#define PTRDIFF_TYPE "int"
32
 
33
#undef WCHAR_TYPE
34
#define WCHAR_TYPE "long int"
35
 
36
#undef WCHAR_TYPE_SIZE
37
#define WCHAR_TYPE_SIZE 32
38
 
39
#undef ASM_SPEC
40
#define ASM_SPEC \
41
 "%{mtext-section-literals:--text-section-literals} \
42
  %{mno-text-section-literals:--no-text-section-literals} \
43
  %{mtarget-align:--target-align} \
44
  %{mno-target-align:--no-target-align} \
45
  %{mlongcalls:--longcalls} \
46
  %{mno-longcalls:--no-longcalls}"
47
 
48
#define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1"
49
 
50
#undef LINK_SPEC
51
#define LINK_SPEC \
52
 "%{shared:-shared} \
53
  %{!shared: \
54
    %{!static: \
55
      %{rdynamic:-export-dynamic} \
56
      -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \
57
    %{static:-static}}"
58
 
59
#undef LOCAL_LABEL_PREFIX
60
#define LOCAL_LABEL_PREFIX      "."
61
 
62
/* Always enable "-fpic" for Xtensa Linux.  */
63
#define XTENSA_ALWAYS_PIC 1
64
 
65
#undef DBX_REGISTER_NUMBER
66
 

powered by: WebSVN 2.1.0

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