aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/alpha
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2010-08-03 10:42:46 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2010-08-03 10:42:46 +0100
commit1890bccc84b42bf84137be7ffbc8a61bc8463046 (patch)
tree9a920a81dc40a5bb34841a92d3119712b2e73d99 /gcc/config/alpha
parentdc91d8927961dc5785d3622d3502d422e42f85c9 (diff)
downloadgcc-1890bccc84b42bf84137be7ffbc8a61bc8463046.zip
gcc-1890bccc84b42bf84137be7ffbc8a61bc8463046.tar.gz
gcc-1890bccc84b42bf84137be7ffbc8a61bc8463046.tar.bz2
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
Diffstat (limited to 'gcc/config/alpha')
-rw-r--r--gcc/config/alpha/alpha.h3
-rw-r--r--gcc/config/alpha/osf5.h2
2 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/alpha/alpha.h b/gcc/config/alpha/alpha.h
index c8590b9..806f1aa 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 67348bb..c44371d 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