This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: as -gstabs does not work on ia64
Nick Clifton <nickc@cambridge.redhat.com> writes:
|> > 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.
I have added this to the documentation:
--- internals.texi.~1.27.~ Fri Nov 16 11:23:13 2001
+++ internals.texi Wed Nov 28 17:56:49 2001
@@ -843,11 +843,13 @@
@itemx md_longopts_size
@itemx md_parse_option
@itemx md_show_usage
+@itemx md_after_parse_args
@cindex md_shortopts
@cindex md_longopts
@cindex md_longopts_size
@cindex md_parse_option
@cindex md_show_usage
+@cindex md_after_parse_args
GAS uses these variables and functions during option processing.
@code{md_shortopts} is a @code{const char *} which GAS adds to the machine
independent string passed to @code{getopt}. @code{md_longopts} is a
@@ -859,6 +861,9 @@
unrecognized code, presumably indicating a special code value which appears in
@code{md_longopts}. GAS will call @code{md_show_usage} when a usage message is
printed; it should print a description of the machine specific options.
+@code{md_after_pase_args}, if defined, is called after all options are
+processed, to let the backend override settings done by the generic option
+parsing.
@item md_begin
@cindex md_begin
Andreas.
--
Andreas Schwab "And now for something
Andreas.Schwab@suse.de completely different."
SuSE Labs, SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5