This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: as -gstabs does not work on ia64


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]