[patch] General info in AS listings

Santiago Urueña Pascual suruena@gmail.com
Sun Mar 30 21:43:00 GMT 2008


Hi, this simple patch adds a new 'g' sub-option to the '-a' gas switch
to print general information in assembly listings like gas version,
options passed, or time stamp.

For example:

$ as tasking.s -o tasking.o -L -alg --traditional-format --MD
Makefile.tasking -I ..
SPARC GAS  tasking.s                    page 1


 GNU assembler version 2.18.50 (sparc-elf)
         using BFD version (GNU Binutils) 2.18.50.20080330.
 options passed : -L -alg --traditional-format --MD -I
 input file     : tasking.s
 output file    : tasking.o
 target         : sparc-unknown-elf
 time stamp     : 2008-03-30T17:41:09.000-0400

^LSPARC GAS  tasking.s                  page 2


   1                            .file   "tasking.adb"
   2                            .global tasking_E
   3                            .section        ".data"
   4                            .type   tasking_E, #object
   5                            .size   tasking_E, 1
   6                    tasking_E:
   7 0000 00                    .skip   1
   8                            .local  tasking___chain
   9                            .common tasking___chain,4,4
  10                            .type   tasking__periodicTKE, #object
  11                            .size   tasking__periodicTKE, 1

...


This is my first patch in a FSF project. It is very simple, do I need
to sign the copyright papers? I've no problem in doing that. The patch
includes the Changefile and texi changes.

Best regards,

-- 
Santiago Urueña Pascual <suruena@gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: listings.patch
Type: text/x-patch
Size: 8453 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20080330/9dffa21e/attachment.bin>


More information about the Binutils mailing list