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

H.J. Lu hjl.tools@gmail.com
Fri Aug 6 16:36:00 GMT 2010
On Fri, Aug 6, 2010 at 1:54 AM, Nick Clifton <nickc@redhat.com> wrote:
> 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.
>

The object files with compressed debug sections aren't compatible
with any binutils programs, except for gold:

http://sourceware.org/bugzilla/show_bug.cgi?id=11819


-- 
H.J.



More information about the Binutils mailing list