OLD | NEW |
1 /* Target definitions for GCC for NativeClient using ELF | 1 /* Target definitions for GCC for NativeClient using ELF |
2 Copyright (C) 1988, 1991, 1995, 2000, 2001, 2002 | 2 Copyright (C) 1988, 1991, 1995, 2000, 2001, 2002 |
3 Free Software Foundation, Inc. | 3 Free Software Foundation, Inc. |
4 | 4 |
5 Derived from sysv4.h written by Ron Guilmette (rfg@netcom.com). | 5 Derived from sysv4.h written by Ron Guilmette (rfg@netcom.com). |
6 | 6 |
7 This file is part of GCC. | 7 This file is part of GCC. |
8 | 8 |
9 GCC is free software; you can redistribute it and/or modify | 9 GCC is free software; you can redistribute it and/or modify |
10 it under the terms of the GNU General Public License as published by | 10 it under the terms of the GNU General Public License as published by |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 #undef LINK_SPEC | 162 #undef LINK_SPEC |
163 #define LINK_SPEC "%{" SPEC_64 ":-m elf64_nacl} %{" SPEC_32 ":-m elf_nacl} \ | 163 #define LINK_SPEC "%{" SPEC_64 ":-m elf64_nacl} %{" SPEC_32 ":-m elf_nacl} \ |
164 %{shared:-shared} \ | 164 %{shared:-shared} \ |
165 %{!shared: \ | 165 %{!shared: \ |
166 %{!static: \ | 166 %{!static: \ |
167 %{rdynamic:-export-dynamic} \ | 167 %{rdynamic:-export-dynamic} \ |
168 %{" SPEC_32 ":%{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER32 "
}} \ | 168 %{" SPEC_32 ":%{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER32 "
}} \ |
169 %{" SPEC_64 ":%{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER64 "
}}} \ | 169 %{" SPEC_64 ":%{!dynamic-linker:-dynamic-linker " LINUX_DYNAMIC_LINKER64 "
}}} \ |
170 %{static:-static}}" | 170 %{static:-static}}" |
171 | 171 |
| 172 #undef LINK_GCC_C_SEQUENCE_SPEC |
| 173 #define LINK_GCC_C_SEQUENCE_SPEC \ |
| 174 "%{static:--start-group} %G %L %{static:--end-group}%{!static:%G}" |
| 175 |
172 #if TARGET_64BIT_DEFAULT | 176 #if TARGET_64BIT_DEFAULT |
173 #define MULTILIB_DEFAULTS { "m64" } | 177 #define MULTILIB_DEFAULTS { "m64" } |
174 #else | 178 #else |
175 #define MULTILIB_DEFAULTS { "m32" } | 179 #define MULTILIB_DEFAULTS { "m32" } |
176 #endif | 180 #endif |
177 | 181 |
178 #undef NEED_INDICATE_EXEC_STACK | 182 #undef NEED_INDICATE_EXEC_STACK |
179 #define NEED_INDICATE_EXEC_STACK 1 | 183 #define NEED_INDICATE_EXEC_STACK 1 |
180 | 184 |
181 #define MD_UNWIND_SUPPORT "config/i386/linux-unwind.h" | 185 #define MD_UNWIND_SUPPORT "config/i386/linux-unwind.h" |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 #undef TARGET_USE_BT | 289 #undef TARGET_USE_BT |
286 #define TARGET_USE_BT (ix86_tune_features[X86_TUNE_USE_BT] && !TARGET_
NACL) | 290 #define TARGET_USE_BT (ix86_tune_features[X86_TUNE_USE_BT] && !TARGET_
NACL) |
287 | 291 |
288 #undef DBX_REGISTER_NUMBER | 292 #undef DBX_REGISTER_NUMBER |
289 #define DBX_REGISTER_NUMBER(n) \ | 293 #define DBX_REGISTER_NUMBER(n) \ |
290 (TARGET_64BIT ? dbx64_register_map[n] : svr4_dbx_register_map[n]) | 294 (TARGET_64BIT ? dbx64_register_map[n] : svr4_dbx_register_map[n]) |
291 | 295 |
292 #define DWARF2_ADDR_SIZE \ | 296 #define DWARF2_ADDR_SIZE \ |
293 (TARGET_NACL ? (TARGET_64BIT ? 8 : 4) : \ | 297 (TARGET_NACL ? (TARGET_64BIT ? 8 : 4) : \ |
294 (POINTER_SIZE / BITS_PER_UNIT)) | 298 (POINTER_SIZE / BITS_PER_UNIT)) |
OLD | NEW |