bug-glibc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

EI_OSABI in the ELF header on GNU/Linux systems


From: Richard Sanders
Subject: EI_OSABI in the ELF header on GNU/Linux systems
Date: Wed, 30 May 2001 15:11:02 -0500

I noticed that the EI_OSABI field in the e_ident member of the ELF
header (offset 8) is being set to 0x00 rather than 0x03.  Is this just
an oversight or is it intended?  I dug around in the elf.h header file
and found ELFOSABI_SYSV defined as 0x00, which is (mostly) correct if
rather vague.  Shouldn't the library be using ELFOSABI_LINUX which is
defined as 0x03 and was intended for GNU/Linux?

Here is a snapshot of the System V ABI that defines these values:
http://www.sco.com/developer/gabi/2001-04-24/ch4.eheader.html#elfid


Richard Sanders
Software Engineer
Newisys, Inc.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]