[PATCH/RFA] Mark arm-*-netbsdelf* binaries as ELFOSABI_NETBSD
Jason R Thorpe
thorpej@wasabisystems.com
Sun Apr 7 10:31:00 GMT 2002
On Sun, Apr 07, 2002 at 11:17:31AM +0100, Philip Blundell wrote:
> 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.
Err, this certainly doesn't appear to be the case with e.g. elf-hppa-linux.
As far as I can tell, the usage of EI_OSABI in that code is basically the
same as the usage I have in mind for elfarm-nabi.
> 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?
When we transition to the ARM EABI later, the dynamic linker will be
able find compatibility shlibs for existing programs using the EI_OSABI
field.
--
-- Jason R. Thorpe <thorpej@wasabisystems.com>
More information about the Binutils
mailing list