* 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.
This commit is contained in:
Nick Clifton
2008-04-10 12:45:18 +00:00
parent 45a5551e74
commit 83f10cb26a
8 changed files with 171 additions and 13 deletions

View File

@ -1,4 +1,9 @@
-*- text -*-
* New sub-option added to the assembler's -a command line switch to
generate a listing output. The 'g' sub-option will insert into the listing
various information about the assembly, such as assembler version, the
command line options used, and a time stamp.
* New command line option -msse2avx for x86 target to encode SSE
instructions with VEX prefix.