Imported Upstream version 4.8.1
[platform/upstream/gcc48.git] / gcc / config / mips / linux64.h
1 /* Definitions for MIPS running Linux-based GNU systems with ELF format
2    using n32/64 abi.
3    Copyright (C) 2002-2013 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 #define GNU_USER_LINK_EMULATION32 "elf32%{EB:b}%{EL:l}tsmip"
22 #define GNU_USER_LINK_EMULATION64 "elf64%{EB:b}%{EL:l}tsmip"
23 #define GNU_USER_LINK_EMULATIONN32 "elf32%{EB:b}%{EL:l}tsmipn32"
24
25 #define GLIBC_DYNAMIC_LINKER32 "/lib/ld.so.1"
26 #define GLIBC_DYNAMIC_LINKER64 "/lib64/ld.so.1"
27 #define GLIBC_DYNAMIC_LINKERN32 "/lib32/ld.so.1"
28 #define UCLIBC_DYNAMIC_LINKERN32 "/lib32/ld-uClibc.so.0"
29 #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32"
30 #define GNU_USER_DYNAMIC_LINKERN32 \
31   CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32, \
32                          BIONIC_DYNAMIC_LINKERN32)