[PATCH/RFA] Mark arm-*-netbsdelf* binaries as ELFOSABI_NETBSD

Philip Blundell pb@nexus.co.uk
Sun Apr 7 03:17:00 GMT 2002


On Sun, 2002-04-07 at 07:09, Jason R Thorpe wrote:
> The upcoming NetBSD 1.6 release is shipping with ARM ELF binaries marked
> with ELFOSABI_NETBSD, in order to identify the various characteristics of
> the ABI we are currently using (ATPCS, VFP-format doubles, but non-packed
> enums).

That is not really what the EI_OSABI field is for.  It is intended to
identify the ABI in a wider sense, so that you can ascribe meanings to
things like reloc numbers.  If your object files are compatible with
what elfarm-nabi.c produces, you should stick with ELFOSABI_ARM.

What were you planning to use this identification for?  Is it just to
stop people from accidentally linking together incompatible objects, or
is there something else?

p.



More information about the Binutils mailing list