[PATCH 1/2] Add support for O32 FPXX ABI
Joseph S. Myers
joseph@codesourcery.com
Tue Apr 22 17:05:00 GMT 2014
On Mon, 7 Apr 2014, Matthew Fortune wrote:
> > What did you think about the idea of reusing the .gnu_attributes section
> > data as the segment data? It seems simpler than the PT_NOTE format.
>
> I have no major objection. Slight concern over defining more of the MIPS
> ABI around the 'gnu' vendor attributes which is a bit strange given the
> MIPS architecture is not restricted to gnu tools. Having said that, MIPS is
> already using these as critical parts of the ABI and following it through
> to load time information as well then seems reasonable.
>
> In order to use the pre-existing section for GNU attributes I guess it
> would need to become SEC_ALLOC and get associated with the new program
> header. Perhaps call it PT_MIPS_ATTRIBUTES or PT_GNU_ATTRIBUTES if this
> were done for all architectures. And then somehow get that to be positioned
> immediately after the notes segment.
Making an allocated segment for attributes was previously rejected; see
references in <http://www.eglibc.org/archives/patches/msg01019.html>. I
don't think anything significant has changed to affect that design
principle.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Binutils
mailing list