From 2cd7c167097741abca2a3cd42f54cd066b988858 Mon Sep 17 00:00:00 2001 From: green Date: Sat, 1 Jul 2000 05:48:33 +0000 Subject: 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. --- usr.bin/brandelf/brandelf.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'usr.bin/brandelf') diff --git a/usr.bin/brandelf/brandelf.c b/usr.bin/brandelf/brandelf.c index 7993bf9..8c6fae5 100644 --- a/usr.bin/brandelf/brandelf.c +++ b/usr.bin/brandelf/brandelf.c @@ -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 -- cgit v1.1