[patch] Add --compress-debug-sections option to gas

Nick Clifton nickc@redhat.com
Fri Aug 6 13:42:00 GMT 2010


Hi Cary,

>          * as.c (show_usage): Don't list --compress-debug-sections if zlib not
>          installed.
>          (main): Warn if --compress-debug-sections requested and zlib not
>          installed.
>          * doc/as.texinfo: Add --compress-debug-sections,
>          --nocompress-debug-sections.

Good, although the documentation still does not mention that 
--compress-debug-sections may not be supported.  How about:

   @item --compress-debug-sections
   Compress DWARF debug sections using zlib.  The debug sections are renamed
   to begin with @samp{.zdebug}, and the resulting object file may not be
   compatible with older linkers and object file utilities.  This option is
   only supported if the host machine has the zlib compression library.

Cheers
   Nick



More information about the Binutils mailing list