On Wed, 18 Dec 2013, H.J. Lu wrote:

> On Wed, Dec 18, 2013 at 4:13 PM, Joseph S. Myers
> <jos...@codesourcery.com> wrote:
> > On Mon, 2 Dec 2013, H.J. Lu wrote:
> >
> >> @@ -3952,6 +3955,10 @@ process_command (unsigned int decoded_options_count,
> >>            free (fname);
> >>         continue;
> >>       }
> >> +      else if (decoded_options[j].opt_index == OPT_fuse_ld_bfd)
> >> +     use_ld = ".bfd";
> >> +      else if (decoded_options[j].opt_index == OPT_fuse_ld_gold)
> >> +     use_ld = ".gold";
> >
> > Is there a reason these options need handling there rather than in the
> > switch statement in driver_handle_option?
> >
> 
> It is because driver_handle_option isn't called for -fuse-ld=gold:

Try adding Driver to the .opt entries for these options.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to