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

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

Issue 9186013: Make -Os a fatal error (Closed) Base URL: http://git.chromium.org/native_client/nacl-gcc.git@master
Patch Set: appengine hiccup Created 8 years, 11 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after
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)
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