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: SHT_GNU_ATTRIBUTES advice...


On Sat, Sep 10, 2011 at 01:12:58AM -0400, David Miller wrote:
> From: Alan Modra <amodra@gmail.com>
> Date: Sat, 10 Sep 2011 14:01:38 +0930
> 
> > On Fri, Sep 09, 2011 at 03:03:49PM -0400, David Miller wrote:
> >> I'm not so sure how to proceed.  Perhaps conditionalize the handling
> >> of section header type "0x6ffffff5" based upon the OSABI?
> > 
> > Sounds correct to me.  On this subject, we really ought to be setting
> > OSABI to ELFOSABI_GNU (unless the processor ABI says otherwise)
> > whenever we use any OS specific extensions like the SHT_GNU headers.
> 
> And I also noticed that the Solaris ELF backend explicitly avoids
> using ELFOSABI_SOLARIS because doing so would preclude linking with
> what all current Solaris/SPARC objects have, which is ELFOSABI_NONE.

That could be fixed easily enough I think, by tweaking elf_object_p
to accept ELFOSABI_NONE objects.

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