diff options
author | Andreas Schwab <schwab@linux-m68k.org> | 2001-11-28 17:00:46 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@linux-m68k.org> | 2001-11-28 17:00:46 +0000 |
commit | acebd4ce9d135c9137438c98fade24062071c7b6 (patch) | |
tree | eb4765630f56885d7e1019a263adcdc2a07024f8 /gas/doc/internals.texi | |
parent | 5c3cf190c0ee98cfade016748df228c6dc559fab (diff) | |
download | gdb-acebd4ce9d135c9137438c98fade24062071c7b6.zip gdb-acebd4ce9d135c9137438c98fade24062071c7b6.tar.gz gdb-acebd4ce9d135c9137438c98fade24062071c7b6.tar.bz2 |
* 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.
* doc/internals.texi (CPU backend): Document md_after_parse_args.
Diffstat (limited to 'gas/doc/internals.texi')
-rw-r--r-- | gas/doc/internals.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/doc/internals.texi b/gas/doc/internals.texi index 4abf0d9..e7d3009 100644 --- a/gas/doc/internals.texi +++ b/gas/doc/internals.texi @@ -843,11 +843,13 @@ zero if the target is little endian. @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 @@ GAS will call @code{md_parse_option} whenever @code{getopt} returns an 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 |