This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: RFC: Add support for SHF_COMPRESSED
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: Pedro Alves <palves at redhat dot com>
- Cc: Cary Coutant <ccoutant at google dot com>, Jan Beulich <JBeulich at suse dot com>, Binutils <binutils at sourceware dot org>, GDB <gdb at sourceware dot org>
- Date: Fri, 20 Mar 2015 06:36:46 -0700
- Subject: Re: RFC: Add support for SHF_COMPRESSED
- Authentication-results: sourceware.org; auth=none
- References: <CAMe9rOp7=hH0HSVmbKohv=5JmcV25owj_RtnPYirG1Bhej=XkA at mail dot gmail dot com> <550318C90200007800069E5B at mail dot emea dot novell dot com> <CAMe9rOoy9dbAw7Kh9+-haTE4gj4331Dk5E1YAr+1Xx+HBzCF0w at mail dot gmail dot com> <55031C360200007800069EAF at mail dot emea dot novell dot com> <CAMe9rOqR4tgNr9CvZXoGsO4ASxZyaAp47J4DL=VNtC9AuLYKGA at mail dot gmail dot com> <CAHACq4qwgFbz_jF5hE1WeaKfhuYPD0iDerEiu4Dzx3KMtSdnUw at mail dot gmail dot com> <550BE1F8 dot 7030405 at redhat dot com> <CAMe9rOp+1NzmihCXZODJ7TW+y9uFCxSi_cVkwKR3=X7+KCv68g at mail dot gmail dot com>
On Fri, Mar 20, 2015 at 5:07 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Fri, Mar 20, 2015 at 2:01 AM, Pedro Alves <palves@redhat.com> wrote:
>> On 03/19/2015 06:18 PM, Cary Coutant wrote:
>>>
>>> If you want the option to generate either format, how about something
>>> like "--compress-debug-sections=[none|zlib|zlib-old|zlib-new]"? (Where
>>> "zlib" would generate the old for a while, then we'd switch it to the
>>> new after some time.
>>
>> Can we please find terms that describe that "old" and "new" mean and
>> use those instead? "new" will eventually be old news too.
>> We did that mistake with "--enable-new-dtags", let's not repeat it.
>>
>> For example:
>> --compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi]
>>
>
> I will go with this one and "zlib" will be the same as "zlib-gnu" for now.
>
I implemented it on users/hjl/compressed branch. Any feedbacks?
Thanks.
--
H.J.