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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 #undef LIB_SPEC | 94 #undef LIB_SPEC |
95 #define LIB_SPEC \ | 95 #define LIB_SPEC \ |
96 "%{pthread:-lpthread} \ | 96 "%{pthread:-lpthread} \ |
97 %{shared:-lc} \ | 97 %{shared:-lc} \ |
98 %{!shared:%{mieee-fp:-lieee} %{profile:-lc_p}%{!profile:-lc}}" | 98 %{!shared:%{mieee-fp:-lieee} %{profile:-lc_p}%{!profile:-lc}}" |
99 | 99 |
100 /* 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. */ |
101 #define HANDLE_PRAGMA_PACK_PUSH_POP | 101 #define HANDLE_PRAGMA_PACK_PUSH_POP |
102 | 102 |
103 #if defined(HAVE_LD_EH_FRAME_HDR) | 103 #if defined(HAVE_LD_EH_FRAME_HDR) |
104 #define LINK_EH_SPEC "%{!static:--eh-frame-hdr} " | 104 #define LINK_EH_SPEC "--no-add-needed %{!static:--eh-frame-hdr} " |
105 #endif | 105 #endif |
106 | 106 |
107 /* Use --as-needed -lgcc_s for eh support. */ | 107 /* Use --as-needed -lgcc_s for eh support. */ |
108 #ifdef HAVE_LD_AS_NEEDED | 108 #ifdef HAVE_LD_AS_NEEDED |
109 #define USE_LD_AS_NEEDED 1 | 109 #define USE_LD_AS_NEEDED 1 |
110 #endif | 110 #endif |
111 | 111 |
112 #define NACL_DYNAMIC_LINKER32 "/lib/ld-nacl-x86-32.so.1" | 112 #define NACL_DYNAMIC_LINKER32 "/lib/ld-nacl-x86-32.so.1" |
113 #define NACL_DYNAMIC_LINKER64 "/lib64/ld-nacl-x86-64.so.1" | 113 #define NACL_DYNAMIC_LINKER64 "/lib64/ld-nacl-x86-64.so.1" |
114 | 114 |
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
261 #undef TARGET_USE_BT | 261 #undef TARGET_USE_BT |
262 #define TARGET_USE_BT (ix86_tune_features[X86_TUNE_USE_BT] && !TARGET_
NACL) | 262 #define TARGET_USE_BT (ix86_tune_features[X86_TUNE_USE_BT] && !TARGET_
NACL) |
263 | 263 |
264 #undef DBX_REGISTER_NUMBER | 264 #undef DBX_REGISTER_NUMBER |
265 #define DBX_REGISTER_NUMBER(n) \ | 265 #define DBX_REGISTER_NUMBER(n) \ |
266 (TARGET_64BIT ? dbx64_register_map[n] : svr4_dbx_register_map[n]) | 266 (TARGET_64BIT ? dbx64_register_map[n] : svr4_dbx_register_map[n]) |
267 | 267 |
268 #define DWARF2_ADDR_SIZE \ | 268 #define DWARF2_ADDR_SIZE \ |
269 (TARGET_NACL ? (TARGET_64BIT ? 8 : 4) : \ | 269 (TARGET_NACL ? (TARGET_64BIT ? 8 : 4) : \ |
270 (POINTER_SIZE / BITS_PER_UNIT)) | 270 (POINTER_SIZE / BITS_PER_UNIT)) |
OLD | NEW |