aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2010-07-30 18:04:37 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2010-07-30 18:04:37 +0100
commit34251c0ee6c80909aa2579dfdba34a132c10edf1 (patch)
tree39c4802ab1ec2c73bfc44ddecba5aba0c73eac5a /gcc/config.gcc
parent95b038dd431c7b0053c29d9d330d99c3b3f63b44 (diff)
downloadgcc-34251c0ee6c80909aa2579dfdba34a132c10edf1.zip
gcc-34251c0ee6c80909aa2579dfdba34a132c10edf1.tar.gz
gcc-34251c0ee6c80909aa2579dfdba34a132c10edf1.tar.bz2
common.opt (-G): Don't define option here.
* common.opt (-G): Don't define option here. * config/g.opt: New. * config.gcc: Use g.opt for alpha, frv, ia64, lm32, m32r, mips, rs6000/powerpc and score targets. * opts.c (common_handle_option): Don't handle -G here. * config/alpha/alpha.c (alpha_handle_option): Handle -G. * config/frv/frv.c (frv_handle_option): Handle -G. * config/ia64/ia64.c (ia64_handle_option): Handle -G. * config/lm32/lm32.c (lm32_handle_option, TARGET_HANDLE_OPTION): New. * config/m32r/m32r.c (m32r_handle_option): Handle -G. * config/mips/mips.c (mips_handle_option): Handle -G. * config/rs6000/rs6000.c (rs6000_handle_option) Handle -G. * config/score/score.c (score_handle_option): Handle -G. From-SVN: r162721
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc11
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 47c1fb5..9170fc8 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -267,6 +267,7 @@ m32c*-*-*)
alpha*-*-*)
cpu_type=alpha
need_64bit_hwint=yes
+ extra_options="${extra_options} g.opt"
;;
am33_2.0-*-linux*)
cpu_type=mn10300
@@ -289,6 +290,7 @@ crisv32-*)
cpu_type=cris
;;
frv*) cpu_type=frv
+ extra_options="${extra_options} g.opt"
;;
moxie*) cpu_type=moxie
;;
@@ -322,12 +324,17 @@ x86_64-*-*)
ia64-*-*)
extra_headers=ia64intrin.h
need_64bit_hwint=yes
+ extra_options="${extra_options} g.opt"
;;
hppa*-*-*)
cpu_type=pa
;;
+lm32*)
+ extra_options="${extra_options} g.opt"
+ ;;
m32r*-*-*)
cpu_type=m32r
+ extra_options="${extra_options} g.opt"
;;
m68k-*-*)
extra_headers=math-68881.h
@@ -336,6 +343,7 @@ mips*-*-*)
cpu_type=mips
need_64bit_hwint=yes
extra_headers="loongson.h"
+ extra_options="${extra_options} g.opt"
;;
picochip-*-*)
cpu_type=picochip
@@ -349,12 +357,15 @@ powerpc*-*-*)
cpu_is_64bit=yes
;;
esac
+ extra_options="${extra_options} g.opt"
;;
rs6000*-*-*)
need_64bit_hwint=yes
+ extra_options="${extra_options} g.opt"
;;
score*-*-*)
cpu_type=score
+ extra_options="${extra_options} g.opt"
;;
sparc*-*-*)
cpu_type=sparc