as -gstabs does not work on ia64

Nick Clifton nickc@cambridge.redhat.com
Thu Nov 15 00:08:00 GMT 2001


Hi Andreas,

> md_parse_option is only called for arch specific options which are
> not recognized by the generic option parser.

Doh!  I should have remembered that.


> Perhaps introducing md_after_parse_args:

>    *pargc = new_argc;
>    *pargv = new_argv;
> +
> +#ifdef md_after_parse_args
> +  md_after_parse_args ();
> +#endif

That is definitely nicer.  (And it could be used to remove the TC_M68K
code that is currently in parse_args() too).

> 2001-11-28  Andreas Schwab  <schwab@suse.de>
> 
> 	* as.c (parse_args): Call md_after_parse_args if defined.
> 	* config/tc-ia64.h (md_after_parse_args): Define.
> 	* config/tc-ia64.c (ia64_after_parse_args): Reject --gstabs.

Approved - please apply.

Cheers
        Nick




More information about the Binutils mailing list