annotate gcc/config/mips/linux.h @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 /* Definitions for MIPS running Linux-based GNU systems with ELF format.
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
2 Copyright (C) 1998-2020 Free Software Foundation, Inc.
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 This file is part of GCC.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
5
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 GCC is free software; you can redistribute it and/or modify
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 it under the terms of the GNU General Public License as published by
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 the Free Software Foundation; either version 3, or (at your option)
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
9 any later version.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 GCC is distributed in the hope that it will be useful,
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 GNU General Public License for more details.
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
15
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 along with GCC; see the file COPYING3. If not see
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 <http://www.gnu.org/licenses/>. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
19
111
kono
parents: 67
diff changeset
20 #define GNU_USER_LINK_EMULATION32 "elf32%{EB:b}%{EL:l}tsmip"
kono
parents: 67
diff changeset
21 #define GNU_USER_LINK_EMULATION64 "elf64%{EB:b}%{EL:l}tsmip"
kono
parents: 67
diff changeset
22 #define GNU_USER_LINK_EMULATIONN32 "elf32%{EB:b}%{EL:l}tsmipn32"
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
23
111
kono
parents: 67
diff changeset
24 #define GLIBC_DYNAMIC_LINKER32 \
kono
parents: 67
diff changeset
25 "%{mnan=2008:/lib/ld-linux-mipsn8.so.1;:/lib/ld.so.1}"
kono
parents: 67
diff changeset
26 #define GLIBC_DYNAMIC_LINKER64 \
kono
parents: 67
diff changeset
27 "%{mnan=2008:/lib64/ld-linux-mipsn8.so.1;:/lib64/ld.so.1}"
kono
parents: 67
diff changeset
28 #define GLIBC_DYNAMIC_LINKERN32 \
kono
parents: 67
diff changeset
29 "%{mnan=2008:/lib32/ld-linux-mipsn8.so.1;:/lib32/ld.so.1}"
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
30
111
kono
parents: 67
diff changeset
31 #undef UCLIBC_DYNAMIC_LINKER32
kono
parents: 67
diff changeset
32 #define UCLIBC_DYNAMIC_LINKER32 \
kono
parents: 67
diff changeset
33 "%{mnan=2008:/lib/ld-uClibc-mipsn8.so.0;:/lib/ld-uClibc.so.0}"
kono
parents: 67
diff changeset
34 #undef UCLIBC_DYNAMIC_LINKER64
kono
parents: 67
diff changeset
35 #define UCLIBC_DYNAMIC_LINKER64 \
kono
parents: 67
diff changeset
36 "%{mnan=2008:/lib/ld64-uClibc-mipsn8.so.0;:/lib/ld64-uClibc.so.0}"
kono
parents: 67
diff changeset
37 #define UCLIBC_DYNAMIC_LINKERN32 \
kono
parents: 67
diff changeset
38 "%{mnan=2008:/lib32/ld-uClibc-mipsn8.so.0;:/lib32/ld-uClibc.so.0}"
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
39
111
kono
parents: 67
diff changeset
40 #undef MUSL_DYNAMIC_LINKER32
kono
parents: 67
diff changeset
41 #define MUSL_DYNAMIC_LINKER32 \
kono
parents: 67
diff changeset
42 "/lib/ld-musl-mips%{mips32r6|mips64r6:r6}%{EL:el}%{msoft-float:-sf}.so.1"
kono
parents: 67
diff changeset
43 #undef MUSL_DYNAMIC_LINKER64
kono
parents: 67
diff changeset
44 #define MUSL_DYNAMIC_LINKER64 \
kono
parents: 67
diff changeset
45 "/lib/ld-musl-mips64%{mips64r6:r6}%{EL:el}%{msoft-float:-sf}.so.1"
kono
parents: 67
diff changeset
46 #define MUSL_DYNAMIC_LINKERN32 \
kono
parents: 67
diff changeset
47 "/lib/ld-musl-mipsn32%{mips64r6:r6}%{EL:el}%{msoft-float:-sf}.so.1"
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
48
111
kono
parents: 67
diff changeset
49 #define BIONIC_DYNAMIC_LINKERN32 "/system/bin/linker32"
kono
parents: 67
diff changeset
50 #define GNU_USER_DYNAMIC_LINKERN32 \
kono
parents: 67
diff changeset
51 CHOOSE_DYNAMIC_LINKER (GLIBC_DYNAMIC_LINKERN32, UCLIBC_DYNAMIC_LINKERN32, \
kono
parents: 67
diff changeset
52 BIONIC_DYNAMIC_LINKERN32, MUSL_DYNAMIC_LINKERN32)
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
53
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
54 #undef NEED_INDICATE_EXEC_STACK
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
55
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
56 #ifdef TARGET_LIBC_GNUSTACK
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
57 #define NEED_INDICATE_EXEC_STACK 1
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
58 #else
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
59 #define NEED_INDICATE_EXEC_STACK TARGET_SOFT_FLOAT
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
60 #endif