From: Nick Clifton Date: Mon, 12 Mar 2001 23:35:23 +0000 (+0000) Subject: Handle EM_S390_OLD. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b7498e0ef0edc97635348a318aff8b4f937a37b2;p=binutils-gdb.git Handle EM_S390_OLD. --- 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);