diff options
author | green <green@FreeBSD.org> | 2000-07-01 05:48:33 +0000 |
---|---|---|
committer | green <green@FreeBSD.org> | 2000-07-01 05:48:33 +0000 |
commit | 2cd7c167097741abca2a3cd42f54cd066b988858 (patch) | |
tree | baae830afc7ecb410fae31cff72b851bf454393d /usr.bin/brandelf | |
parent | 5f788961ba48b35c324803f25cdd9c5d46dcf9e7 (diff) | |
download | FreeBSD-src-2cd7c167097741abca2a3cd42f54cd066b988858.zip FreeBSD-src-2cd7c167097741abca2a3cd42f54cd066b988858.tar.gz |
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.
Diffstat (limited to 'usr.bin/brandelf')
-rw-r--r-- | usr.bin/brandelf/brandelf.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 |