This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]