Commit 1890bccc by Joseph Myers Committed by Joseph Myers

alpha.h (SWITCH_TAKES_ARG): Define.

	* config/alpha/alpha.h (SWITCH_TAKES_ARG): Define.
	* config/alpha/osf5.h (LIB_SPEC): Don't handle -a.
	* config/bfin/bfin.h (ASM_SPEC, LINK_SPEC): Don't pass -G*
	options.
	* config/darwin.h (WORD_SWITCH_TAKES_ARG): Handle -iframework.
	* config/ia64/ia64.h (SWITCH_TAKES_ARG): Define.
	* config/iq2000/iq2000.h (SWITCH_TAKES_ARG): Remove.
	* config/rs6000/sysv4.h (SWITCH_TAKES_ARG): Define using
	DEFAULT_SWITCH_TAKES_ARG.
	* config/rx/rx.opt (-patch=): Remove option.
	* config/rx/rx.c (rx_handle_option): Don't handle OPT_patch_.
	* defaults.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Handle -imultilib.
	* doc/invoke.texi (RX Options): Remove -patch=.
	* gcc.c (cc1_options): Pass -aux-info* instead of -a* options.
	(option_map): Remove --profile-blocks, --quiet and --silent.

ada:
	* gcc-interface/lang-specs.h: Don't pass -a options.

c-family:
	* c.opt (-print-pch-checksum): Remove option.
	* c-opts.c (c_common_handle_option): Don't handle
	OPT_print_pch_checksum.

From-SVN: r162838
parent dc91d892
2010-08-03 Joseph Myers <joseph@codesourcery.com>
* config/alpha/alpha.h (SWITCH_TAKES_ARG): Define.
* config/alpha/osf5.h (LIB_SPEC): Don't handle -a.
* config/bfin/bfin.h (ASM_SPEC, LINK_SPEC): Don't pass -G*
options.
* config/darwin.h (WORD_SWITCH_TAKES_ARG): Handle -iframework.
* config/ia64/ia64.h (SWITCH_TAKES_ARG): Define.
* config/iq2000/iq2000.h (SWITCH_TAKES_ARG): Remove.
* config/rs6000/sysv4.h (SWITCH_TAKES_ARG): Define using
DEFAULT_SWITCH_TAKES_ARG.
* config/rx/rx.opt (-patch=): Remove option.
* config/rx/rx.c (rx_handle_option): Don't handle OPT_patch_.
* defaults.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Handle -imultilib.
* doc/invoke.texi (RX Options): Remove -patch=.
* gcc.c (cc1_options): Pass -aux-info* instead of -a* options.
(option_map): Remove --profile-blocks, --quiet and --silent.
2010-08-03 Uros Bizjak <ubizjak@gmail.com> 2010-08-03 Uros Bizjak <ubizjak@gmail.com>
* config/i386/i386.h (ix86_compare_op0, ix86_compare_op1): Remove. * config/i386/i386.h (ix86_compare_op0, ix86_compare_op1): Remove.
......
2010-08-03 Joseph Myers <joseph@codesourcery.com>
* gcc-interface/lang-specs.h: Don't pass -a options.
2010-07-28 Joseph Myers <joseph@codesourcery.com> 2010-07-28 Joseph Myers <joseph@codesourcery.com>
* gcc-interface/misc.c (gnat_init_options): Ignore erroneous * gcc-interface/misc.c (gnat_init_options): Ignore erroneous
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
%{nostdinc*} %{nostdlib*}\ %{nostdinc*} %{nostdlib*}\
-dumpbase %{.adb:%b.adb}%{.ads:%b.ads}%{!.adb:%{!.ads:%b.ada}}\ -dumpbase %{.adb:%b.adb}%{.ads:%b.ads}%{!.adb:%{!.ads:%b.ada}}\
%{c|S:%{o*:-auxbase-strip %*}%{!o*:-auxbase %b}}%{!c:%{!S:-auxbase %b}} \ %{c|S:%{o*:-auxbase-strip %*}%{!o*:-auxbase %b}}%{!c:%{!S:-auxbase %b}} \
%{O*} %{W*} %{w} %{p} %{pg:-p} %{a} %{d*} %{f*}\ %{O*} %{W*} %{w} %{p} %{pg:-p} %{d*} %{f*}\
%{coverage:-fprofile-arcs -ftest-coverage} " %{coverage:-fprofile-arcs -ftest-coverage} "
"%{gnatea:-gnatez} %{g*&m*} " "%{gnatea:-gnatez} %{g*&m*} "
#if defined(TARGET_VXWORKS_RTP) #if defined(TARGET_VXWORKS_RTP)
......
2010-08-03 Joseph Myers <joseph@codesourcery.com>
* c.opt (-print-pch-checksum): Remove option.
* c-opts.c (c_common_handle_option): Don't handle
OPT_print_pch_checksum.
2010-07-27 Joseph Myers <joseph@codesourcery.com> 2010-07-27 Joseph Myers <joseph@codesourcery.com>
* c-common.h (c_common_handle_option): Update prototype and return * c-common.h (c_common_handle_option): Update prototype and return
......
...@@ -849,11 +849,6 @@ c_common_handle_option (size_t scode, const char *arg, int value, ...@@ -849,11 +849,6 @@ c_common_handle_option (size_t scode, const char *arg, int value,
print_struct_values = 1; print_struct_values = 1;
break; break;
case OPT_print_pch_checksum:
c_common_print_pch_checksum (stdout);
exit_after_options = true;
break;
case OPT_remap: case OPT_remap:
cpp_opts->remap = 1; cpp_opts->remap = 1;
break; break;
......
...@@ -952,10 +952,6 @@ print-objc-runtime-info ...@@ -952,10 +952,6 @@ print-objc-runtime-info
ObjC ObjC++ ObjC ObjC++
Generate C header of platform-specific features Generate C header of platform-specific features
print-pch-checksum
C ObjC C++ ObjC++
Print a checksum of the executable for PCH validity checking, and stop
remap remap
C ObjC C++ ObjC++ C ObjC C++ ObjC++
Remap file names when including files Remap file names when including files
......
...@@ -96,6 +96,9 @@ along with GCC; see the file COPYING3. If not see ...@@ -96,6 +96,9 @@ along with GCC; see the file COPYING3. If not see
while (0) while (0)
#endif #endif
#define SWITCH_TAKES_ARG(CHAR) \
(DEFAULT_SWITCH_TAKES_ARG (CHAR) || (CHAR) == 'G')
#define WORD_SWITCH_TAKES_ARG(STR) \ #define WORD_SWITCH_TAKES_ARG(STR) \
(!strcmp (STR, "rpath") || DEFAULT_WORD_SWITCH_TAKES_ARG(STR)) (!strcmp (STR, "rpath") || DEFAULT_WORD_SWITCH_TAKES_ARG(STR))
......
...@@ -84,7 +84,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -84,7 +84,7 @@ along with GCC; see the file COPYING3. If not see
-lpdf. */ -lpdf. */
#define LIB_SPEC \ #define LIB_SPEC \
"%{p|pg:-lprof1%{pthread|threads:_r} -lpdf} %{a:-lprof2} \ "%{p|pg:-lprof1%{pthread|threads:_r} -lpdf} \
%{threads: -lpthreads} %{pthread|threads: -lpthread -lmach -lexc} -lc" %{threads: -lpthreads} %{pthread|threads: -lpthread -lmach -lexc} -lc"
/* Pass "-G 8" to ld because Alpha's CC does. Pass -O3 if we are /* Pass "-G 8" to ld because Alpha's CC does. Pass -O3 if we are
......
/* Definitions for the Blackfin port. /* Definitions for the Blackfin port.
Copyright (C) 2005, 2007, 2008, 2009 Free Software Foundation, Inc. Copyright (C) 2005, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
Contributed by Analog Devices. Contributed by Analog Devices.
This file is part of GCC. This file is part of GCC.
...@@ -252,7 +252,7 @@ extern int target_flags; ...@@ -252,7 +252,7 @@ extern int target_flags;
Defined in svr4.h. */ Defined in svr4.h. */
#undef ASM_SPEC #undef ASM_SPEC
#define ASM_SPEC "\ #define ASM_SPEC "\
%{G*} %{v} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*} \ %{v} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*} \
%{mno-fdpic:-mnopic} %{mfdpic}" %{mno-fdpic:-mnopic} %{mfdpic}"
#define LINK_SPEC "\ #define LINK_SPEC "\
...@@ -262,7 +262,6 @@ extern int target_flags; ...@@ -262,7 +262,6 @@ extern int target_flags;
%{static:-dn -Bstatic} \ %{static:-dn -Bstatic} \
%{shared:-G -Bdynamic} \ %{shared:-G -Bdynamic} \
%{symbolic:-Bsymbolic} \ %{symbolic:-Bsymbolic} \
%{G*} \
%{YP,*} \ %{YP,*} \
%{Qy:} %{!Qn:-Qy} \ %{Qy:} %{!Qn:-Qy} \
-init __init -fini __fini " -init __init -fini __fini "
......
...@@ -236,6 +236,7 @@ extern GTY(()) int darwin_ms_struct; ...@@ -236,6 +236,7 @@ extern GTY(()) int darwin_ms_struct;
!strcmp (STR, "sectobjectsymbols") ? 2 : \ !strcmp (STR, "sectobjectsymbols") ? 2 : \
!strcmp (STR, "segcreate") ? 3 : \ !strcmp (STR, "segcreate") ? 3 : \
!strcmp (STR, "dylinker_install_name") ? 1 : \ !strcmp (STR, "dylinker_install_name") ? 1 : \
!strcmp (STR, "iframework") ? 1 : \
0) 0)
#define SUBTARGET_C_COMMON_OVERRIDE_OPTIONS do { \ #define SUBTARGET_C_COMMON_OVERRIDE_OPTIONS do { \
......
...@@ -53,6 +53,9 @@ do { \ ...@@ -53,6 +53,9 @@ do { \
#define ASM_EXTRA_SPEC "" #define ASM_EXTRA_SPEC ""
#define SWITCH_TAKES_ARG(CHAR) \
(DEFAULT_SWITCH_TAKES_ARG (CHAR) || (CHAR) == 'G')
/* Variables which are this size or smaller are put in the sdata/sbss /* Variables which are this size or smaller are put in the sdata/sbss
sections. */ sections. */
extern unsigned int ia64_section_threshold; extern unsigned int ia64_section_threshold;
......
/* Definitions of target machine for GNU compiler. /* Definitions of target machine for GNU compiler.
Vitesse IQ2000 processors Vitesse IQ2000 processors
Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009 Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
Free Software Foundation, Inc. Free Software Foundation, Inc.
This file is part of GCC. This file is part of GCC.
...@@ -21,10 +21,6 @@ ...@@ -21,10 +21,6 @@
/* Driver configuration. */ /* Driver configuration. */
#undef SWITCH_TAKES_ARG
#define SWITCH_TAKES_ARG(CHAR) \
(DEFAULT_SWITCH_TAKES_ARG (CHAR) || (CHAR) == 'G')
/* The svr4.h LIB_SPEC with -leval and --*group tacked on */ /* The svr4.h LIB_SPEC with -leval and --*group tacked on */
#undef LIB_SPEC #undef LIB_SPEC
#define LIB_SPEC "%{!shared:%{!symbolic:--start-group -lc -leval -lgcc --end-group}}" #define LIB_SPEC "%{!shared:%{!symbolic:--start-group -lc -leval -lgcc --end-group}}"
......
/* Target definitions for GNU compiler for PowerPC running System V.4 /* Target definitions for GNU compiler for PowerPC running System V.4
Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc. 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
Contributed by Cygnus Support. Contributed by Cygnus Support.
This file is part of GCC. This file is part of GCC.
...@@ -520,12 +520,8 @@ do { \ ...@@ -520,12 +520,8 @@ do { \
/* Override svr4.h definition. */ /* Override svr4.h definition. */
#undef SWITCH_TAKES_ARG #undef SWITCH_TAKES_ARG
#define SWITCH_TAKES_ARG(CHAR) \ #define SWITCH_TAKES_ARG(CHAR) \
((CHAR) == 'D' || (CHAR) == 'U' || (CHAR) == 'o' \ (DEFAULT_SWITCH_TAKES_ARG (CHAR) || (CHAR) == 'G')
|| (CHAR) == 'e' || (CHAR) == 'T' || (CHAR) == 'u' \
|| (CHAR) == 'I' || (CHAR) == 'm' || (CHAR) == 'x' \
|| (CHAR) == 'L' || (CHAR) == 'A' || (CHAR) == 'V' \
|| (CHAR) == 'B' || (CHAR) == 'b' || (CHAR) == 'G')
extern int fixuplabelno; extern int fixuplabelno;
......
...@@ -2130,7 +2130,6 @@ rx_handle_option (size_t code, const char * arg ATTRIBUTE_UNUSED, int value) ...@@ -2130,7 +2130,6 @@ rx_handle_option (size_t code, const char * arg ATTRIBUTE_UNUSED, int value)
return value >= 0 && value <= 4; return value >= 0 && value <= 4;
case OPT_mcpu_: case OPT_mcpu_:
case OPT_patch_:
if (strcasecmp (arg, "RX610") == 0) if (strcasecmp (arg, "RX610") == 0)
rx_cpu_type = RX610; rx_cpu_type = RX610;
else if (strcasecmp (arg, "RX200") == 0) else if (strcasecmp (arg, "RX200") == 0)
......
...@@ -46,10 +46,6 @@ mcpu= ...@@ -46,10 +46,6 @@ mcpu=
Target RejectNegative Joined Var(rx_cpu_name) Report Target RejectNegative Joined Var(rx_cpu_name) Report
Specify the target RX cpu type. Specify the target RX cpu type.
patch=
Target RejectNegative Joined Var(rx_cpu_name)
Alias for -mcpu.
;--------------------------------------------------- ;---------------------------------------------------
mbig-endian-data mbig-endian-data
......
...@@ -50,7 +50,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see ...@@ -50,7 +50,7 @@ see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
|| !strcmp (STR, "idirafter") || !strcmp (STR, "iprefix") \ || !strcmp (STR, "idirafter") || !strcmp (STR, "iprefix") \
|| !strcmp (STR, "iwithprefix") || !strcmp (STR, "iwithprefixbefore") \ || !strcmp (STR, "iwithprefix") || !strcmp (STR, "iwithprefixbefore") \
|| !strcmp (STR, "iquote") || !strcmp (STR, "isystem") \ || !strcmp (STR, "iquote") || !strcmp (STR, "isystem") \
|| !strcmp (STR, "isysroot") \ || !strcmp (STR, "isysroot") || !strcmp (STR, "imultilib") \
|| !strcmp (STR, "-param") || !strcmp (STR, "specs") \ || !strcmp (STR, "-param") || !strcmp (STR, "specs") \
|| !strcmp (STR, "MF") || !strcmp (STR, "MT") || !strcmp (STR, "MQ") \ || !strcmp (STR, "MF") || !strcmp (STR, "MT") || !strcmp (STR, "MQ") \
|| !strcmp (STR, "fintrinsic-modules-path") \ || !strcmp (STR, "fintrinsic-modules-path") \
......
...@@ -790,7 +790,7 @@ See RS/6000 and PowerPC Options. ...@@ -790,7 +790,7 @@ See RS/6000 and PowerPC Options.
@emph{RX Options} @emph{RX Options}
@gccoptlist{-m64bit-doubles -m32bit-doubles -fpu -nofpu@gol @gccoptlist{-m64bit-doubles -m32bit-doubles -fpu -nofpu@gol
-mcpu= -patch=@gol -mcpu=@gol
-mbig-endian-data -mlittle-endian-data @gol -mbig-endian-data -mlittle-endian-data @gol
-msmall-data @gol -msmall-data @gol
-msim -mno-sim@gol -msim -mno-sim@gol
...@@ -15839,9 +15839,7 @@ use then the FPU hardware will not be used for doubles. ...@@ -15839,9 +15839,7 @@ use then the FPU hardware will not be used for doubles.
This is because the RX FPU instructions are themselves unsafe. This is because the RX FPU instructions are themselves unsafe.
@item -mcpu=@var{name} @item -mcpu=@var{name}
@itemx -patch=@var{name}
@opindex -mcpu @opindex -mcpu
@opindex -patch
Selects the type of RX CPU to be targeted. Currently three types are Selects the type of RX CPU to be targeted. Currently three types are
supported, the generic @var{RX600} and @var{RX200} series hardware and supported, the generic @var{RX600} and @var{RX200} series hardware and
the specific @var{RX610} cpu. The default is @var{RX600}. the specific @var{RX610} cpu. The default is @var{RX600}.
......
...@@ -858,7 +858,7 @@ static const char *cpp_debug_options = "%{d*}"; ...@@ -858,7 +858,7 @@ static const char *cpp_debug_options = "%{d*}";
static const char *cc1_options = static const char *cc1_options =
"%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\ "%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
%{!iplugindir*:%{fplugin*:%:find-plugindir()}}\ %{!iplugindir*:%{fplugin*:%:find-plugindir()}}\
%1 %{!Q:-quiet} %{!dumpbase:-dumpbase %B} %{d*} %{m*} %{a*}\ %1 %{!Q:-quiet} %{!dumpbase:-dumpbase %B} %{d*} %{m*} %{aux-info*}\
%{fcompare-debug-second:%:compare-debug-auxbase-opt(%b)} \ %{fcompare-debug-second:%:compare-debug-auxbase-opt(%b)} \
%{!fcompare-debug-second:%{c|S:%{o*:-auxbase-strip %*}%{!o*:-auxbase %b}}}%{!c:%{!S:-auxbase %b}} \ %{!fcompare-debug-second:%{c|S:%{o*:-auxbase-strip %*}%{!o*:-auxbase %b}}}%{!c:%{!S:-auxbase %b}} \
%{g*} %{O*} %{W*&pedantic*} %{w} %{std*&ansi&trigraphs}\ %{g*} %{O*} %{W*&pedantic*} %{w} %{std*&ansi&trigraphs}\
...@@ -1199,12 +1199,9 @@ static const struct option_map option_map[] = ...@@ -1199,12 +1199,9 @@ static const struct option_map option_map[] =
{"--print-sysroot", "-print-sysroot", 0}, {"--print-sysroot", "-print-sysroot", 0},
{"--print-sysroot-headers-suffix", "-print-sysroot-headers-suffix", 0}, {"--print-sysroot-headers-suffix", "-print-sysroot-headers-suffix", 0},
{"--profile", "-p", 0}, {"--profile", "-p", 0},
{"--profile-blocks", "-a", 0},
{"--quiet", "-q", 0},
{"--resource", "-fcompile-resource=", "aj"}, {"--resource", "-fcompile-resource=", "aj"},
{"--save-temps", "-save-temps", 0}, {"--save-temps", "-save-temps", 0},
{"--shared", "-shared", 0}, {"--shared", "-shared", 0},
{"--silent", "-q", 0},
{"--specs", "-specs=", "aj"}, {"--specs", "-specs=", "aj"},
{"--static", "-static", 0}, {"--static", "-static", 0},
{"--std", "-std=", "aj"}, {"--std", "-std=", "aj"},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment