This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch] Add --compress-debug-sections option to gas
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Cary Coutant <ccoutant at google dot com>
- Cc: Nick Clifton <nickc at redhat dot com>, Binutils <binutils at sourceware dot org>
- Date: Wed, 4 Aug 2010 11:38:25 -0700
- Subject: Re: [patch] Add --compress-debug-sections option to gas
- References: <AANLkTim2Li4CdH8itmx1q-8oxxuH0EOcFjzaSsQzmKzX@mail.gmail.com> <AANLkTinCjncd5O3bAJQTWJadDb7v7N7epTRvm3wwnFwd@mail.gmail.com> <AANLkTinRje8qT_yHWSL2wVdvGIJd8Xb165zimOSQnZQ5@mail.gmail.com> <AANLkTimgUYshoBrHuBovljevGsqIPDN3v9GkqfBWuVcW@mail.gmail.com> <AANLkTikrgY36JzcuN46UyCRBx_xfxfy3AfzhoMYjuh4b@mail.gmail.com> <AANLkTinodTCNHnyKbm7rt0GZwev_ia6PboxS4Ae0SfBc@mail.gmail.com> <AANLkTikwgcdbw_oN9TQtrcgpbGyc6jX1qYyxxVhKHdpe@mail.gmail.com> <4C5960AC.7090405@redhat.com> <AANLkTimP4YUyAp+9RghPPSTwkvDy-46+6UYswcmdemoc@mail.gmail.com>
On Wed, Aug 4, 2010 at 11:36 AM, Cary Coutant <ccoutant@google.com> wrote:
>>> +@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.
>>
>> I think that you should mention that this feature is only available if the
>> zlib library is available on the host machine.
>
> More specifically, if it was available when gas was configured and
> built, right? How should I phrase that? Or would the following be
> sufficient?
>
> "... If the zlib library is not available on the host machine, this
> option has no effect."
>
zlib is in gcc source tree. Can we include it in binutils?
--
H.J.