diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-07-06 20:39:31 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-07-06 20:39:31 +0000 |
commit | 85a961c6a12151673dd31463b66ab32f742242e9 (patch) | |
tree | 746d5de9d666ef652888f44adcb4cf2858814dd0 /gas/doc/as.texinfo | |
parent | 1d5d75e90a9b5056199ad43a521c3a77bce6fc2a (diff) | |
download | gdb-85a961c6a12151673dd31463b66ab32f742242e9.zip gdb-85a961c6a12151673dd31463b66ab32f742242e9.tar.gz gdb-85a961c6a12151673dd31463b66ab32f742242e9.tar.bz2 |
Patches from Jerry Blakely <gerry_blakley@wellfleet.com>:
* as.c (listing_filename): New static variable.
(show_usage): Mention -a=file.
(parse_args): Support = option of -a to set name of listing file.
(main): Pass listing_filename to listing_print.
* listing.c (list_file): New static variable.
(various): Replace printf with fprintf to list_file.
(listing_print): If name argument is not NULL, open it as
list_file.
* doc/as.texinfo, doc/as.1: Document -a=file.
PR 6354.
Diffstat (limited to 'gas/doc/as.texinfo')
-rw-r--r-- | gas/doc/as.texinfo | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/gas/doc/as.texinfo b/gas/doc/as.texinfo index b33f38b..91eda83 100644 --- a/gas/doc/as.texinfo +++ b/gas/doc/as.texinfo @@ -194,7 +194,7 @@ Here is a brief summary of how to invoke @code{@value{AS}}. For details, @c We don't use deffn and friends for the following because they seem @c to be limited to one line for the header. @smallexample -@value{AS} [ -a[dhlns] ] [ -D ] [ -f ] [ --help ] +@value{AS} [ -a[dhlns][=file] ] [ -D ] [ -f ] [ --help ] [ -I @var{dir} ] [ -J ] [ -K ] [ -L ] [ -o @var{objfile} ] [ -R ] [ --statistics ] [ -v ] [ -version ] [ --version ] [ -W ] [ -w ] [ -x ] [ -Z ] @@ -254,11 +254,15 @@ omit forms processing @item -as include symbols + +@item =file +set the name of the listing file @end table You may combine these options; for example, use @samp{-aln} for assembly -listing without forms processing. By itself, @samp{-a} defaults to -@samp{-ahls}---that is, all listings turned on. +listing without forms processing. The @samp{=file} option, if used, must be +the last one. By itself, @samp{-a} defaults to @samp{-ahls}---that is, all +listings turned on. @item -D Ignored. This option is accepted for script compatibility with calls to |