summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-08-03 09:42:46 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2010-08-03 09:42:46 +0000
commit9b091a7323a7532837d3403e3edd0c9367347fb4 (patch)
tree9a920a81dc40a5bb34841a92d3119712b2e73d99 /gcc/config
parent6ceb0a4d1bd58eb46929196871022e6d51932885 (diff)
downloadgcc-9b091a7323a7532837d3403e3edd0c9367347fb4.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@162838 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/alpha/alpha.h3
-rw-r--r--gcc/config/alpha/osf5.h2
-rw-r--r--gcc/config/bfin/bfin.h5
-rw-r--r--gcc/config/darwin.h1
-rw-r--r--gcc/config/ia64/ia64.h3
-rw-r--r--gcc/config/iq2000/iq2000.h6
-rw-r--r--gcc/config/rs6000/sysv4.h10
-rw-r--r--gcc/config/rx/rx.c1
-rw-r--r--gcc/config/rx/rx.opt4
9 files changed, 14 insertions, 21 deletions
diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h
index c8590b9c782..806f1aa7e60 100644
--- a/gcc/config/alpha/alpha.h
+++ b/gcc/config/alpha/alpha.h
@@ -96,6 +96,9 @@ along with GCC; see the file COPYING3. If not see
while (0)
#endif
+#define SWITCH_TAKES_ARG(CHAR) \
+ (DEFAULT_SWITCH_TAKES_ARG (CHAR) || (CHAR) == 'G')
+
#define WORD_SWITCH_TAKES_ARG(STR) \
(!strcmp (STR, "rpath") || DEFAULT_WORD_SWITCH_TAKES_ARG(STR))
diff --git a/gcc/config/alpha/osf5.h b/gcc/config/alpha/osf5.h
index 67348bb2f97..c44371d317a 100644
--- a/gcc/config/alpha/osf5.h
+++ b/gcc/config/alpha/osf5.h
@@ -84,7 +84,7 @@ along with GCC; see the file COPYING3. If not see
-lpdf. */
#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"
/* Pass "-G 8" to ld because Alpha's CC does. Pass -O3 if we are
diff --git a/gcc/config/bfin/bfin.h b/gcc/config/bfin/bfin.h
index 367cd96dbc8..e6e2aaeb7f9 100644
--- a/gcc/config/bfin/bfin.h
+++ b/gcc/config/bfin/bfin.h
@@ -1,5 +1,5 @@
/* 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.
This file is part of GCC.
@@ -252,7 +252,7 @@ extern int target_flags;
Defined in svr4.h. */
#undef ASM_SPEC
#define ASM_SPEC "\
-%{G*} %{v} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*} \
+%{v} %{n} %{T} %{Ym,*} %{Yd,*} %{Wa,*:%*} \
%{mno-fdpic:-mnopic} %{mfdpic}"
#define LINK_SPEC "\
@@ -262,7 +262,6 @@ extern int target_flags;
%{static:-dn -Bstatic} \
%{shared:-G -Bdynamic} \
%{symbolic:-Bsymbolic} \
-%{G*} \
%{YP,*} \
%{Qy:} %{!Qn:-Qy} \
-init __init -fini __fini "
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h
index 066d0922d75..df73890bdd0 100644
--- a/gcc/config/darwin.h
+++ b/gcc/config/darwin.h
@@ -236,6 +236,7 @@ extern GTY(()) int darwin_ms_struct;
!strcmp (STR, "sectobjectsymbols") ? 2 : \
!strcmp (STR, "segcreate") ? 3 : \
!strcmp (STR, "dylinker_install_name") ? 1 : \
+ !strcmp (STR, "iframework") ? 1 : \
0)
#define SUBTARGET_C_COMMON_OVERRIDE_OPTIONS do { \
diff --git a/gcc/config/ia64/ia64.h b/gcc/config/ia64/ia64.h
index 047a0436182..39fa25ccc5f 100644
--- a/gcc/config/ia64/ia64.h
+++ b/gcc/config/ia64/ia64.h
@@ -53,6 +53,9 @@ do { \
#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
sections. */
extern unsigned int ia64_section_threshold;
diff --git a/gcc/config/iq2000/iq2000.h b/gcc/config/iq2000/iq2000.h
index 07d4c2d864b..683eb9b8c61 100644
--- a/gcc/config/iq2000/iq2000.h
+++ b/gcc/config/iq2000/iq2000.h
@@ -1,6 +1,6 @@
/* Definitions of target machine for GNU compiler.
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.
This file is part of GCC.
@@ -21,10 +21,6 @@
/* 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 */
#undef LIB_SPEC
#define LIB_SPEC "%{!shared:%{!symbolic:--start-group -lc -leval -lgcc --end-group}}"
diff --git a/gcc/config/rs6000/sysv4.h b/gcc/config/rs6000/sysv4.h
index 1007941f94c..b9db247d911 100644
--- a/gcc/config/rs6000/sysv4.h
+++ b/gcc/config/rs6000/sysv4.h
@@ -1,6 +1,6 @@
/* Target definitions for GNU compiler for PowerPC running System V.4
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.
This file is part of GCC.
@@ -520,12 +520,8 @@ do { \
/* Override svr4.h definition. */
#undef SWITCH_TAKES_ARG
-#define SWITCH_TAKES_ARG(CHAR) \
- ((CHAR) == 'D' || (CHAR) == 'U' || (CHAR) == 'o' \
- || (CHAR) == 'e' || (CHAR) == 'T' || (CHAR) == 'u' \
- || (CHAR) == 'I' || (CHAR) == 'm' || (CHAR) == 'x' \
- || (CHAR) == 'L' || (CHAR) == 'A' || (CHAR) == 'V' \
- || (CHAR) == 'B' || (CHAR) == 'b' || (CHAR) == 'G')
+#define SWITCH_TAKES_ARG(CHAR) \
+ (DEFAULT_SWITCH_TAKES_ARG (CHAR) || (CHAR) == 'G')
extern int fixuplabelno;
diff --git a/gcc/config/rx/rx.c b/gcc/config/rx/rx.c
index c81ef4c1771..503a5cf0425 100644
--- a/gcc/config/rx/rx.c
+++ b/gcc/config/rx/rx.c
@@ -2130,7 +2130,6 @@ rx_handle_option (size_t code, const char * arg ATTRIBUTE_UNUSED, int value)
return value >= 0 && value <= 4;
case OPT_mcpu_:
- case OPT_patch_:
if (strcasecmp (arg, "RX610") == 0)
rx_cpu_type = RX610;
else if (strcasecmp (arg, "RX200") == 0)
diff --git a/gcc/config/rx/rx.opt b/gcc/config/rx/rx.opt
index 9615556576d..adc7000d9d3 100644
--- a/gcc/config/rx/rx.opt
+++ b/gcc/config/rx/rx.opt
@@ -46,10 +46,6 @@ mcpu=
Target RejectNegative Joined Var(rx_cpu_name) Report
Specify the target RX cpu type.
-patch=
-Target RejectNegative Joined Var(rx_cpu_name)
-Alias for -mcpu.
-
;---------------------------------------------------
mbig-endian-data