From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ulrich Drepper To: hjl@lucon.org (H.J. Lu) Cc: ian@cygnus.com (Ian Lance Taylor), gas2@cygnus.com, libc-hacker@cygnus.com Subject: Re: Has anyone looked at ELF 4.1? Date: Mon, 17 Aug 1998 13:14:00 -0000 Message-id: References: X-SW-Source: 1998/msg00209.html 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 `------------------------