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: Support SHF_GNU_COMPRESSED


On Wed, Jul 21, 2010 at 7:28 PM, Alan Modra <amodra@gmail.com> wrote:
> On Wed, Jul 21, 2010 at 07:00:39PM -0700, Cary Coutant wrote:
>> >> My comment above is just as relevant to .zdebug.
>> >
>> > Current .zdebug* section uses PROGBITS. My patch simple follows
>> > the current scheme.
>>
>> I think he's suggesting to add SHF_OS_NONCONFORMING to those sections.
>
> Yes.
>
>> That flag is supposed to indicate that the ELF consumer should refuse
>> to process the file if it doesn't understand the section type.
>> Applying SHF_OS_NONCONFORMING to an SHT_PROGBITS section would have no
>> effect, since all ELF consumers presumably know what SHT_PROGBITS
>> means. It would make sense if/when we change compressed debug sections
>> to use SHT_GNU_COMPRESSED_BITS.
>
> Exactly.

My patch is orthogonal to this. My patch doesn't introduce any new sections
which haven't been generated by assembler before.


-- 
H.J.


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