Handle EM_S390_OLD.

This commit is contained in:
Nick Clifton 2001-03-12 23:35:23 +00:00
parent d982ba7301
commit b7498e0ef0
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2001-03-11 Andreas Jaeger <aj@suse.de>
* readelf.c (guess_is_rela): Handle EM_S390_OLD.
(dump_relocations): Likewise.
(get_machine_name): Likewise.
2001-02-28 Nick Clifton <nickc@redhat.com>
* readelf.c: (struct unw_aux_info): Remove const modifier for

View File

@ -585,6 +585,7 @@ guess_is_rela (e_machine)
case EM_860:
case EM_X86_64:
case EM_S390:
case EM_S390_OLD:
return TRUE;
case EM_MMA:
@ -941,6 +942,7 @@ dump_relocations (file, rel_offset, rel_size, symtab, nsyms, strtab, is_rela)
rtype = elf_x86_64_reloc_type (type);
break;
case EM_S390_OLD:
case EM_S390:
rtype = elf_s390_reloc_type (type);
break;
@ -1324,6 +1326,7 @@ get_machine_name (e_machine)
case EM_HUANY: return "Harvard Universitys's machine-independent object format";
case EM_PRISM: return "SiTera Prism";
case EM_X86_64: return "Advanced Micro Devices X86-64";
case EM_S390_OLD:
case EM_S390: return "IBM S/390";
default:
sprintf (buff, _("<unknown>: %x"), e_machine);