OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [config/] [or32/] [default.h] - Blame information for rev 402

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

Line No. Rev Author Line
1 282 jeremybenn
/* Definitions of target machine for GNU compiler for OR32.
2
   Copyright (C) 1996, 1997, 1998, 2005 Free Software Foundation, Inc.
3 399 jeremybenn
   Copyright (C) 2010 Embecosm Limited
4 282 jeremybenn
   Contributed by Damjan Lampret <damjanl@bsemi.com> in 1999.
5
   Based upon the rs6000 port.
6
 
7
This file is part of GNU CC.
8
 
9
GNU CC is free software; you can redistribute it and/or modify
10
it under the terms of the GNU General Public License as published by
11
the Free Software Foundation; either version 2, or (at your option)
12
any later version.
13
 
14
GNU CC is distributed in the hope that it will be useful,
15
but WITHOUT ANY WARRANTY; without even the implied warranty of
16
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17
GNU General Public License for more details.
18
 
19
You should have received a copy of the GNU General Public License
20
along with GNU CC; see the file COPYING.  If not, write to
21
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
22
 
23
#undef CPP_PREDEFINES
24
#define CPP_PREDEFINES \
25
 "-D__or32__ -D__ELF__ -Dunix -Dlinux -Asystem(unix) -Asystem(linux) -Acpu(or32) -Amachine(or32)"
26
 
27
#undef  CPP_OS_DEFAULT_SPEC
28
#define CPP_OS_DEFAULT_SPEC "%(cpp_os_linux)"
29
 
30
#undef LINK_SPEC
31
#define LINK_SPEC "-m elf32or32 %{G*} %{shared:-shared} \
32
  %{!shared: \
33
    %{!static: \
34
      %{rdynamic:-export-dynamic} \
35
      %{!dynamic-linker:-dynamic-linker /lib/ld.so.1}} \
36
    %{static:-static}}"
37
 
38
#undef  LIB_DEFAULT_SPEC
39
#define LIB_DEFAULT_SPEC "%(lib_linux)"
40
 
41
#undef  STARTFILE_DEFAULT_SPEC
42
#define STARTFILE_DEFAULT_SPEC "%(startfile_linux)"
43
 
44
#undef  ENDFILE_DEFAULT_SPEC
45
#define ENDFILE_DEFAULT_SPEC "%(endfile_linux)"
46
 
47
#undef  LINK_START_DEFAULT_SPEC
48
#define LINK_START_DEFAULT_SPEC "%(link_start_linux)"
49
 
50
#undef  LINK_OS_DEFAULT_SPEC
51
#define LINK_OS_DEFAULT_SPEC "%(link_os_linux)"
52
 
53
#undef TARGET_VERSION
54
#define TARGET_VERSION fprintf (stderr, " (OpenRISC 1000 GNU/Linux)");
55
 
56
/* Define this macro as a C expression for the initializer of an
57
   array of string to tell the driver program which options are
58
   defaults for this target and thus do not need to be handled
59
   specially when using `MULTILIB_OPTIONS'.
60
 
61
   Do not define this macro if `MULTILIB_OPTIONS' is not defined in
62
   the target makefile fragment or if none of the options listed in
63
   `MULTILIB_OPTIONS' are set by default.  *Note Target Fragment::.  */
64
 
65
#undef  MULTILIB_DEFAULTS
66
#define MULTILIB_DEFAULTS { "mbig", "mcall-linux" }
67
 
68
#undef DEFAULT_VTABLE_THUNKS
69
#ifndef USE_GNULIBC_1
70
#define DEFAULT_VTABLE_THUNKS 1
71
#endif
72
 
73
#undef JUMP_TABLES_IN_TEXT_SECTION
74 399 jeremybenn
#define JUMP_TABLES_IN_TEXT_SECTION (flag_pic)

powered by: WebSVN 2.1.0

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