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.1 | |
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.1')
-rw-r--r-- | gas/doc/as.1 | 34 |
1 files changed, 23 insertions, 11 deletions
diff --git a/gas/doc/as.1 b/gas/doc/as.1 index 8a9efe1..09e4c5d 100644 --- a/gas/doc/as.1 +++ b/gas/doc/as.1 @@ -8,8 +8,10 @@ GNU as\-\-the portable GNU assembler. .SH SYNOPSIS .na .B as -.RB "[\|" \-a "\||\|" \-al "\||\|" -as\c -\&\|] +.RB "[\|" \-a "[\|" dhlns "\|]" \c +\&\[\|\=\c +.I file\c +\&\|]\|] .RB "[\|" \-D "\|]" .RB "[\|" \-f "\|]" .RB "[\|" \-I @@ -118,15 +120,25 @@ grave problem that stops the assembly. .SH OPTIONS .TP -.BR \-a \||\| \-al \||\| \-as -Turn on assembly listings; `\|\c -.B \-al\c -\&\|', listing only, `\|\c -.B \-as\c -\&\|', symbols -only, `\|\c -.B \-a\c -\&\|', everything. +.BR \-a +Turn on assembly listings. There are various suboptions. +.B d +omits debugging directives. +.B h +includes the high level source code; this is only available if the +source file can be found, and the code was compiled with +.B \-g. +.B l +includes an assembly listing. +.B n +omits forms processing. +.B s +includes a symbol listing. +.B = +.I file +sets the listing file name; this must be the last suboption. +The default suboptions are +.B hls. .TP .B \-D This option is accepted only for script compatibility with calls to |