This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: Has anyone looked at ELF 4.1?
- To: hjl@lucon.org (H.J. Lu)
- Subject: Re: Has anyone looked at ELF 4.1?
- From: Ulrich Drepper <drepper@cygnus.com>
- Date: 17 Aug 1998 13:13:30 -0700
- Cc: ian@cygnus.com (Ian Lance Taylor), gas2@cygnus.com, libc-hacker@cygnus.com
- References: <m0z8DNv-000394C@ocean.lucon.org>
- Reply-To: drepper@cygnus.com (Ulrich Drepper)
hjl@lucon.org (H.J. Lu) writes:
> 1. Add switchs to ld to set EI_OSABI and EI_ABIVERSION.
> 2. For Linux, set EI_ABIVERSION with C ABI and C++ ABI.
You misunderstand the concept of EI_OSABI. This ABI is the ELF ABI.
This has nothing to do with any versioning of any other part of the
system.
E.g., HP has ELFOSABI_HPUX because they've invented a few extensions
to the standard SysV ELF which is publically documented. If they
wouldn't have this EI_OSABI thing a ld.so which is not written by HP
but conforms with the ELF ABI could try to load such a binary and
fail.
This feature is missing in the original ELF approach and you are right
that we need to get a version. But this will probably be ELFOSABI_GNU
since the ABI will be the same on Linux and Hurd and ... I expect
Solaris to also get a version since their versioning extensions are
also not 100% ELF compatible.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------