mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-23 12:09:49 +00:00
* readelf.c (get_machine_flags): Check for EF_CPU32.
(get_data_encoding): Fix typo.
This commit is contained in:
parent
0d96863f2b
commit
33c63f9db4
@ -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.
|
||||
|
@ -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>");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user