]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/mips/gnu-user64.h
Update copyright years in gcc/
[thirdparty/gcc.git] / gcc / config / mips / gnu-user64.h
CommitLineData
0baeec1b 1/* Definitions for MIPS systems using GNU userspace and n32/64 abi.
23a5b65a 2 Copyright (C) 2002-2014 Free Software Foundation, Inc.
0baeec1b
RM
3
4This file is part of GCC.
5
6GCC is free software; you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published by
8the Free Software Foundation; either version 3, or (at your option)
9any later version.
10
11GCC is distributed in the hope that it will be useful,
12but WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with GCC; see the file COPYING3. If not see
18<http://www.gnu.org/licenses/>. */
19
20/* Force the default endianness and ABI flags onto the command line
21 in order to make the other specs easier to write. */
965c1798
SE
22
23#define LINUX64_DRIVER_SELF_SPECS \
0baeec1b
RM
24 LINUX_DRIVER_SELF_SPECS \
25 " %{!EB:%{!EL:%(endian_spec)}}" \
26 " %{!mabi=*: -" MULTILIB_ABI_DEFAULT "}"
27
965c1798
SE
28#undef DRIVER_SELF_SPECS
29#define DRIVER_SELF_SPECS \
30 BASE_DRIVER_SELF_SPECS, \
31 LINUX64_DRIVER_SELF_SPECS
32
3eab78f4
CF
33#undef GNU_USER_TARGET_LINK_SPEC
34#define GNU_USER_TARGET_LINK_SPEC "\
0baeec1b
RM
35%{G*} %{EB} %{EL} %{mips1} %{mips2} %{mips3} %{mips4} \
36%{shared} \
37 %(endian_spec) \
38 %{!shared: \
39 %{!static: \
40 %{rdynamic:-export-dynamic} \
41 %{mabi=n32: -dynamic-linker " GNU_USER_DYNAMIC_LINKERN32 "} \
42 %{mabi=64: -dynamic-linker " GNU_USER_DYNAMIC_LINKER64 "} \
43 %{mabi=32: -dynamic-linker " GNU_USER_DYNAMIC_LINKER32 "}} \
44 %{static:-static}} \
45%{mabi=n32:-m" GNU_USER_LINK_EMULATIONN32 "} \
46%{mabi=64:-m" GNU_USER_LINK_EMULATION64 "} \
47%{mabi=32:-m" GNU_USER_LINK_EMULATION32 "}"
3eab78f4
CF
48#undef LINK_SPEC
49#define LINK_SPEC GNU_USER_TARGET_LINK_SPEC
0baeec1b
RM
50
51#undef LOCAL_LABEL_PREFIX
52#define LOCAL_LABEL_PREFIX (TARGET_OLDABI ? "$" : ".")