This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Restrict -G option support to relevant targets
- From: Richard Henderson <rth at redhat dot com>
- To: "Joseph S. Myers" <joseph at codesourcery dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 30 Jul 2010 08:59:45 -0700
- Subject: Re: Restrict -G option support to relevant targets
- References: <Pine.LNX.4.64.1007301503540.13327@digraph.polyomino.org.uk>
On 07/30/2010 08:06 AM, Joseph S. Myers wrote:
> * 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.
Ok.
r~