This is the mail archive of the gas2@sourceware.cygnus.com mailing list for the gas2 project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
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 `------------------------