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

Subversion Repositories openrisc_me

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

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

powered by: WebSVN 2.1.0

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