* listing.c: Add -ag listing flag to show general information in
authorNick Clifton <nickc@redhat.com>
Thu, 10 Apr 2008 12:45:18 +0000 (12:45 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 10 Apr 2008 12:45:18 +0000 (12:45 +0000)
commit83f10cb26a460a5ab1921b6305e63e848b1d798f
treebdeca9f8e57a8beda8fdfc407e2381b9eb202910
parent45a5551e7407cb5815016928bfce96262084b751
    * listing.c: Add -ag listing flag to show general information in
        listings such as gas version, passed options, and time stamp.
        (listing_general_info): New function.
        (print_options): New function.
        (print_single_option): New function.
        (print_timestamp): New function.
        (MAX_DATELEN): Define.
        (listing_print): Add call to listing_general_info.
        * listing.h (LISTING_GENERAL): Define.
        (listing_print): Add new parameter.
        * as.c (show_usage): Print new switch.
        (parse_args): Parse new switch.
        (main): Pass command line on to listing_print.
        * NEWS: Mention this new feature.
        * doc/as.texinfo: Document the new sub-option.

        * gas/all/gas.exp: Check the performance of the -ag command line
        switch.
gas/ChangeLog
gas/NEWS
gas/as.c
gas/doc/as.texinfo
gas/listing.c
gas/listing.h
gas/testsuite/ChangeLog
gas/testsuite/gas/all/gas.exp