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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [config/] [mips/] [gnu-user64.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
/* Definitions for MIPS systems using GNU userspace and n32/64 abi.
2
   Copyright 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2010, 2011
3
   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
8
it under the terms of the GNU General Public License as published by
9
the Free Software Foundation; either version 3, or (at your option)
10
any later version.
11
 
12
GCC is distributed in the hope that it will be useful,
13
but WITHOUT ANY WARRANTY; without even the implied warranty of
14
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
GNU General Public License 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
/* Force the default endianness and ABI flags onto the command line
22
   in order to make the other specs easier to write.  */
23
#undef DRIVER_SELF_SPECS
24
#define DRIVER_SELF_SPECS \
25
  BASE_DRIVER_SELF_SPECS, \
26
  LINUX_DRIVER_SELF_SPECS \
27
  " %{!EB:%{!EL:%(endian_spec)}}" \
28
  " %{!mabi=*: -" MULTILIB_ABI_DEFAULT "}"
29
 
30
#undef LIB_SPEC
31
#define LIB_SPEC "\
32
%{pthread:-lpthread} \
33
%{shared:-lc} \
34
%{!shared: \
35
  %{profile:-lc_p} %{!profile:-lc}}"
36
 
37
#undef LINK_SPEC
38
#define LINK_SPEC "\
39
%{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} %{mips4} \
40
%{shared} \
41
 %(endian_spec) \
42
  %{!shared: \
43
    %{!static: \
44
      %{rdynamic:-export-dynamic} \
45
      %{mabi=n32: -dynamic-linker " GNU_USER_DYNAMIC_LINKERN32 "} \
46
      %{mabi=64: -dynamic-linker " GNU_USER_DYNAMIC_LINKER64 "} \
47
      %{mabi=32: -dynamic-linker " GNU_USER_DYNAMIC_LINKER32 "}} \
48
    %{static:-static}} \
49
%{mabi=n32:-m" GNU_USER_LINK_EMULATIONN32 "} \
50
%{mabi=64:-m" GNU_USER_LINK_EMULATION64 "} \
51
%{mabi=32:-m" GNU_USER_LINK_EMULATION32 "}"
52
 
53
#undef LOCAL_LABEL_PREFIX
54
#define LOCAL_LABEL_PREFIX (TARGET_OLDABI ? "$" : ".")
55
 
56
/* GNU/Linux doesn't use the same floating-point format that IRIX uses
57
   for long double.  There's no need to override this here, since
58
   ieee_quad_format is the default, but let's put this here to make
59
   sure nobody thinks we just forgot to set it to something else.  */
60
#define MIPS_TFMODE_FORMAT mips_quad_format

powered by: WebSVN 2.1.0

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