diff options
author | Catherine Moore <clm@redhat.com> | 1999-05-05 11:00:55 +0000 |
---|---|---|
committer | Catherine Moore <clm@redhat.com> | 1999-05-05 11:00:55 +0000 |
commit | 33c63f9db4e4a9093808b58bc4251d658d7bd80e (patch) | |
tree | 6e4dc6078a9961d572b48f7baf554bae042d9918 | |
parent | 0d96863f2b09798c659a367b3cbd67cecc1951b6 (diff) | |
download | gdb-33c63f9db4e4a9093808b58bc4251d658d7bd80e.zip gdb-33c63f9db4e4a9093808b58bc4251d658d7bd80e.tar.gz gdb-33c63f9db4e4a9093808b58bc4251d658d7bd80e.tar.bz2 |
* readelf.c (get_machine_flags): Check for EF_CPU32.
(get_data_encoding): Fix typo.
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/readelf.c | 9 |
2 files changed, 12 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index b8a3d27..36b7963 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +1999-05-05 Catherine Moore <clm@cygnus.com> + + * readelf.c (get_machine_flags): Check for EF_CPU32. + (get_data_encoding): Fix typo. + 1999-04-26 Tom Tromey <tromey@cygnus.com> * aclocal.m4, configure: Updated for new version of libtool. diff --git a/binutils/readelf.c b/binutils/readelf.c index 549bf1a..b0d3d55 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -810,6 +810,11 @@ get_machine_flags (e_flags, e_machine) default: break; + case EM_68K: + if (e_flags & EF_CPU32) + strcat (buf, ", cpu32"); + break; + case EM_PPC: if (e_flags & EF_PPC_EMB) strcat (buf, ", emb"); @@ -1328,8 +1333,8 @@ get_data_encoding (encoding) switch (encoding) { case ELFDATANONE: return _("none"); - case ELFDATA2LSB: return _("2's compilment, little endian"); - case ELFDATA2MSB: return _("2's compilment, big endian"); + case ELFDATA2LSB: return _("2's complement, little endian"); + case ELFDATA2MSB: return _("2's complement, big endian"); default: return _("<unknown>"); } } |