diff options
author | Joseph Myers <joseph@codesourcery.com> | 2010-11-05 13:06:27 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2010-11-05 13:06:27 +0000 |
commit | c243beb03c0fc64c2400835b9cbd770cbbd48222 (patch) | |
tree | 6b1a8cba615f48d1963fa98f1d69555be29e0ee1 /gcc/config/darwin.h | |
parent | d73ee4e74eb82f29e5949c13c6544b50d0f96d4c (diff) | |
download | gcc-c243beb03c0fc64c2400835b9cbd770cbbd48222.tar.gz |
defaults.h (DEFAULT_WORD_SWITCH_TAKES_ARG, [...]): Remove.
* defaults.h (DEFAULT_WORD_SWITCH_TAKES_ARG,
WORD_SWITCH_TAKES_ARG): Remove.
* doc/options.texi (Args): Document.
* doc/tm.texi.in (WORD_SWITCH_TAKES_ARG): Remove.
* doc/tm.texi: Regenerate.
* opt-functions.awk (switch_flags): Handle Args.
* opts-common.c: Update comment on tm.h include.
(decode_cmdline_option): Handle options with multiple arguments.
Don't check WORD_SWITCH_TAKES_ARG for unknown options.
* opts.h (CL_SEPARATE_NARGS_SHIFT, CL_SEPARATE_NARGS_MASK):
Define.
(CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_DRIVER, CL_TARGET,
CL_COMMON): Update values.
* system.h (WORD_SWITCH_TAKES_ARG): Poison.
* config/darwin.h (WORD_SWITCH_TAKES_ARG): Remove.
* config/darwin.opt (Zsegaddr, sectalign, sectcreate,
sectobjectsymbols, sectorder, segcreate, segprot): New.
From-SVN: r166359
Diffstat (limited to 'gcc/config/darwin.h')
-rw-r--r-- | gcc/config/darwin.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 438b7e03c4c..1974704d25a 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -194,20 +194,6 @@ extern GTY(()) int darwin_ms_struct; darwin_override_options (); \ } while (0) -/* These compiler options take n arguments. */ - -#undef WORD_SWITCH_TAKES_ARG -#define WORD_SWITCH_TAKES_ARG(STR) \ - (DEFAULT_WORD_SWITCH_TAKES_ARG (STR) ? 1 : \ - !strcmp (STR, "sectcreate") ? 3 : \ - !strcmp (STR, "sectorder") ? 3 : \ - !strcmp (STR, "Zsegaddr") ? 2 : \ - !strcmp (STR, "segprot") ? 3 : \ - !strcmp (STR, "sectalign") ? 3 : \ - !strcmp (STR, "sectobjectsymbols") ? 2 : \ - !strcmp (STR, "segcreate") ? 3 : \ - 0) - #define SUBTARGET_C_COMMON_OVERRIDE_OPTIONS do { \ if (flag_mkernel || flag_apple_kext) \ { \ |