diff options
author | emaste <emaste@FreeBSD.org> | 2015-09-24 21:04:48 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2015-09-24 21:04:48 +0000 |
commit | 47a49e1e6cd1f4b2d0c68abdf3186595a39423c1 (patch) | |
tree | 26877cea7a60a935263529a9fe9560a60fed2db2 /contrib | |
parent | aed1dae8846e14832a3516ab98dca71b65c44b73 (diff) | |
download | FreeBSD-src-47a49e1e6cd1f4b2d0c68abdf3186595a39423c1.zip FreeBSD-src-47a49e1e6cd1f4b2d0c68abdf3186595a39423c1.tar.gz |
Rename ELFOSABI_SYSV to ELFOSABI_NONE to match current spec
Source: http://www.sco.com/developers/gabi/latest/ch4.eheader.html
Reviewed by: kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3731
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/elftoolchain/elfdump/elfdump.c | 2 | ||||
-rw-r--r-- | contrib/elftoolchain/readelf/readelf.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/contrib/elftoolchain/elfdump/elfdump.c b/contrib/elftoolchain/elfdump/elfdump.c index e4e565b..cb499d1 100644 --- a/contrib/elftoolchain/elfdump/elfdump.c +++ b/contrib/elftoolchain/elfdump/elfdump.c @@ -272,7 +272,7 @@ static const char *ei_data[] = { }; static const char *ei_abis[] = { - "ELFOSABI_SYSV", "ELFOSABI_HPUX", "ELFOSABI_NETBSD", "ELFOSABI_LINUX", + "ELFOSABI_NONE", "ELFOSABI_HPUX", "ELFOSABI_NETBSD", "ELFOSABI_LINUX", "ELFOSABI_HURD", "ELFOSABI_86OPEN", "ELFOSABI_SOLARIS", "ELFOSABI_MONTEREY", "ELFOSABI_IRIX", "ELFOSABI_FREEBSD", "ELFOSABI_TRU64", "ELFOSABI_MODESTO", "ELFOSABI_OPENBSD" diff --git a/contrib/elftoolchain/readelf/readelf.c b/contrib/elftoolchain/readelf/readelf.c index 5cee0aa..e4ebe26 100644 --- a/contrib/elftoolchain/readelf/readelf.c +++ b/contrib/elftoolchain/readelf/readelf.c @@ -414,7 +414,7 @@ elf_osabi(unsigned int abi) static char s_abi[32]; switch(abi) { - case ELFOSABI_SYSV: return "SYSV"; + case ELFOSABI_NONE: return "NONE"; case ELFOSABI_HPUX: return "HPUX"; case ELFOSABI_NETBSD: return "NetBSD"; case ELFOSABI_GNU: return "GNU"; |