Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(74)

Side by Side Diff: gcc/config/i386/nacl.h

Issue 6711037: [gcc] Make command line for static linking similar to what native gcc does (Closed) Base URL: http://git.chromium.org/git/nacl-gcc@master
Patch Set: ready for code review Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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))
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698