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 250 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)) |
| 271 |
| 272 /* -Os is broken and we aren't putting the work into fixing it. |
| 273 See http://code.google.com/p/nativeclient/issues/detail?id=2284 */ |
| 274 #undef SUBTARGET_OVERRIDE_OPTIONS |
| 275 #define SUBTARGET_OVERRIDE_OPTIONS \ |
| 276 do { \ |
| 277 if (TARGET_NACL && optimize_size) \ |
| 278 error ("-Os is not supported by the Native Client compiler"); \ |
| 279 } while (0) |
OLD | NEW |