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

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

Issue 6995084: Restore simple LIB_SPEC using just -lc (Closed) Base URL: http://git.chromium.org/native_client/nacl-gcc.git@master
Patch Set: Created 9 years, 6 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 | gcc/gcc.c » ('j') | gcc/gcc.c » ('J')
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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 /* Pass the NativeClient specific options to the assembler. */ 84 /* Pass the NativeClient specific options to the assembler. */
85 #undef ASM_SPEC 85 #undef ASM_SPEC
86 #define ASM_SPEC \ 86 #define ASM_SPEC \
87 "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} " \ 87 "%{v:-V} %{Qy:} %{!Qn:-Qy} %{n} %{T} " \
88 "%{fnacl-library-mode:-nacl-library-mode} " \ 88 "%{fnacl-library-mode:-nacl-library-mode} " \
89 "%{fnacl-align-16:-nacl-align=4} " \ 89 "%{fnacl-align-16:-nacl-align=4} " \
90 "%{fnacl-align-32:-nacl-align=5} " \ 90 "%{fnacl-align-32:-nacl-align=5} " \
91 "%{Ym,*} %{Yd,*} %{Wa,*:%*} %{m32:--32} %{m64:--64} " \ 91 "%{Ym,*} %{Yd,*} %{Wa,*:%*} %{m32:--32} %{m64:--64} " \
92 "%{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}" 92 "%{!mno-sse2avx:%{mavx:-msse2avx}} %{msse2avx:%{!mavx:-msse2avx}}"
93 93
94 /* `crt_platform' contains low-level platform-specific intrinsics in C. */
95 #undef LIB_SPEC 94 #undef LIB_SPEC
96 #define LIB_SPEC \ 95 #define LIB_SPEC \
97 "%{pthread:-lpthread} \ 96 "%{pthread:-lpthread} \
98 %{mieee-fp:-lieee} %{profile:-lc_p}%{!profile:-lc} \ 97 %{shared:-lc} \
99 -lnacl \ 98 %{!shared:%{mieee-fp:-lieee} %{profile:-lc_p}%{!profile:-lc}}"
100 %{mieee-fp:-lieee} %{profile:-lc_p}%{!profile:-lc} \
101 %{lnosys:-lnosys} \
102 -lcrt_platform \
103 %{mieee-fp:-lieee} %{profile:-lc_p}%{!profile:-lc}"
104 99
105 /* Define this so we can compile MS code for use with WINE. */ 100 /* Define this so we can compile MS code for use with WINE. */
106 #define HANDLE_PRAGMA_PACK_PUSH_POP 101 #define HANDLE_PRAGMA_PACK_PUSH_POP
107 102
108 #if defined(HAVE_LD_EH_FRAME_HDR) 103 #if defined(HAVE_LD_EH_FRAME_HDR)
109 #define LINK_EH_SPEC "%{!static:--eh-frame-hdr} " 104 #define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
110 #endif 105 #endif
111 106
112 /* Use --as-needed -lgcc_s for eh support. */ 107 /* Use --as-needed -lgcc_s for eh support. */
113 #ifdef HAVE_LD_AS_NEEDED 108 #ifdef HAVE_LD_AS_NEEDED
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
292 #undef TARGET_USE_BT 287 #undef TARGET_USE_BT
293 #define TARGET_USE_BT (ix86_tune_features[X86_TUNE_USE_BT] && !TARGET_ NACL) 288 #define TARGET_USE_BT (ix86_tune_features[X86_TUNE_USE_BT] && !TARGET_ NACL)
294 289
295 #undef DBX_REGISTER_NUMBER 290 #undef DBX_REGISTER_NUMBER
296 #define DBX_REGISTER_NUMBER(n) \ 291 #define DBX_REGISTER_NUMBER(n) \
297 (TARGET_64BIT ? dbx64_register_map[n] : svr4_dbx_register_map[n]) 292 (TARGET_64BIT ? dbx64_register_map[n] : svr4_dbx_register_map[n])
298 293
299 #define DWARF2_ADDR_SIZE \ 294 #define DWARF2_ADDR_SIZE \
300 (TARGET_NACL ? (TARGET_64BIT ? 8 : 4) : \ 295 (TARGET_NACL ? (TARGET_64BIT ? 8 : 4) : \
301 (POINTER_SIZE / BITS_PER_UNIT)) 296 (POINTER_SIZE / BITS_PER_UNIT))
OLDNEW
« no previous file with comments | « no previous file | gcc/gcc.c » ('j') | gcc/gcc.c » ('J')

Powered by Google App Engine
This is Rietveld 408576698