The SVR4 module calls itself ELFOSABI_SOLARIS, and who am I to disagree

if it runs my Solaris binaries?  Add the missing "Solaris" type here
so that binaries may be branded with it rather than the seemingly-
defunct ELFOSABI_SVR4.
This commit is contained in:
green 2000-07-01 05:48:33 +00:00
parent 5f788961ba
commit 2cd7c16709

View File

@ -49,8 +49,9 @@ struct ELFtypes {
/* XXX - any more types? */
static struct ELFtypes elftypes[] = {
{ "FreeBSD", ELFOSABI_FREEBSD },
{ "SVR4", ELFOSABI_SYSV },
{ "Linux", ELFOSABI_LINUX }
{ "Linux", ELFOSABI_LINUX },
{ "Solaris", ELFOSABI_SOLARIS },
{ "SVR4", ELFOSABI_SYSV }
};
int