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 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.

-- 
Alan Modra
Australia Development Lab, IBM


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