This is the mail archive of the binutils@sources.redhat.com 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/RFA] Mark arm-*-netbsdelf* binaries as ELFOSABI_NETBSD


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>


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