[parisc-linux] Use of the EI_OSABI field

Alan Modra alan@linuxcare.com.au
Wed, 22 Nov 2000 14:03:07 +1100 (EST)


On Tue, 21 Nov 2000, H . J . Lu wrote:

> On Wed, Nov 22, 2000 at 11:13:29AM +1100, Alan Modra wrote:
> > 
> > > Anyway, the ABI value is zero unless you implement ELF extensions.
> > 
> > Exactly what is an "ELF extension"?  Anything outside gABI or
> 
> ELF extension is something whose interpretation is not documented in
> neither gABI nor psABI. HP's old ELF is a good example since it didn't
> implement DT_INIT/DT_FINI, but added DT_INIT_ARRARY/DT_FINI_ARRAY. A
> normal ELF tool will have a hard time to interpret those fields and
> their values.

Neither you nor Ulrich have responded to John's point that the IA64 psABI
states
  "The e_ident[EI_OSABI] value identifies the operating system and ABI to
   which the object is targeted"

Granted, this is only in a processor specific ABI, but it does flatly
contradict your assertions that the purpose of EI_OSABI is to flag the
presense of ELF extensions.

Alan Modra
-- 
Linuxcare.  Support for the Revolution.