diff options
author | Nick Clifton <nickc@redhat.com> | 2001-03-12 23:35:23 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-03-12 23:35:23 +0000 |
commit | b7498e0ef0edc97635348a318aff8b4f937a37b2 (patch) | |
tree | 8a00f0ba99e4419ac720ba79399f0bbf634860a0 | |
parent | d982ba7301f23611ea22b679d083c90ea640c041 (diff) | |
download | gdb-b7498e0ef0edc97635348a318aff8b4f937a37b2.zip gdb-b7498e0ef0edc97635348a318aff8b4f937a37b2.tar.gz gdb-b7498e0ef0edc97635348a318aff8b4f937a37b2.tar.bz2 |
Handle EM_S390_OLD.
-rw-r--r-- | binutils/ChangeLog | 6 | ||||
-rw-r--r-- | binutils/readelf.c | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 87065d1..124a50d 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -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 diff --git a/binutils/readelf.c b/binutils/readelf.c index d4bddec..ca717a6 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, _("<unknown>: %x"), e_machine); |