From b7498e0ef0edc97635348a318aff8b4f937a37b2 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 12 Mar 2001 23:35:23 +0000 Subject: [PATCH] Handle EM_S390_OLD. --- binutils/ChangeLog | 6 ++++++ binutils/readelf.c | 3 +++ 2 files changed, 9 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 87065d1c63f..124a50d1b24 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,9 @@ +2001-03-11 Andreas Jaeger + + * readelf.c (guess_is_rela): Handle EM_S390_OLD. + (dump_relocations): Likewise. + (get_machine_name): Likewise. + 2001-02-28 Nick Clifton * readelf.c: (struct unw_aux_info): Remove const modifier for diff --git a/binutils/readelf.c b/binutils/readelf.c index d4bddec54c9..ca717a6b027 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -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, _(": %x"), e_machine); -- 2.30.2