aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2000-05-02 17:54:32 +0000
committerH.J. Lu <hjl.tools@gmail.com>2000-05-02 17:54:32 +0000
commit146243a7e09cc4e7f6e66593affbac688747832d (patch)
tree23beb556b02e66a80cd99e05a8e1be61d8151fa8 /binutils
parentee44def1eaa29493c81e711daafaf5e54f2d7eb4 (diff)
downloadgdb-146243a7e09cc4e7f6e66593affbac688747832d.zip
gdb-146243a7e09cc4e7f6e66593affbac688747832d.tar.gz
gdb-146243a7e09cc4e7f6e66593affbac688747832d.tar.bz2
2000-05-02 H.J. Lu <hjl@gnu.org>
* readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD, ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX, ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO and ELFOSABI_OPENBSD.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog8
-rw-r--r--binutils/readelf.c11
2 files changed, 18 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 008456a..a25691b 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,11 @@
+2000-05-02 H.J. Lu <hjl@gnu.org>
+
+ * readelf.c (get_osabi_name): Handle ELFOSABI_NONE instead of
+ ELFOSABI_SYSV. Also handle ELFOSABI_NETBSD, ELFOSABI_HURD,
+ ELFOSABI_SOLARIS, ELFOSABI_MONTEREY, ELFOSABI_IRIX,
+ ELFOSABI_FREEBSD, ELFOSABI_TRU64, ELFOSABI_MODESTO
+ and ELFOSABI_OPENBSD.
+
2000-05-02 Kazu Hirata <kazu@hxi.com>
* coffgrok.c: Add ATTRIBUTE_UNUSED as appropriate.
diff --git a/binutils/readelf.c b/binutils/readelf.c
index a24bbcd..5856723 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -2052,9 +2052,18 @@ get_osabi_name (osabi)
switch (osabi)
{
- case ELFOSABI_SYSV: return _("UNIX - System V");
+ case ELFOSABI_NONE: return _("UNIX - System V");
case ELFOSABI_HPUX: return _("UNIX - HP-UX");
+ case ELFOSABI_NETBSD: return _("UNIX - NetBSD");
case ELFOSABI_LINUX: return _("UNIX - Linux");
+ case ELFOSABI_HURD: return _("GNU/Hurd");
+ case ELFOSABI_SOLARIS: return _("UNIX - Solaris");
+ case ELFOSABI_MONTEREY: return _("UNIX - Monterey");
+ case ELFOSABI_IRIX: return _("UNIX - IRIX");
+ case ELFOSABI_FREEBSD: return _("UNIX - FreeBSD");
+ case ELFOSABI_TRU64: return _("UNIX - TRU64");
+ case ELFOSABI_MODESTO: return _("Novell - Modesto");
+ case ELFOSABI_OPENBSD: return _("UNIX - OpenBSD");
case ELFOSABI_STANDALONE: return _("Standalone App");
case ELFOSABI_ARM: return _("ARM");
default: