* readelf.c (guess_is_rela): Handle EM_IQ2000.
authorStan Cox <scox@redhat.com>
Sat, 4 Jan 2003 02:13:46 +0000 (02:13 +0000)
committerStan Cox <scox@redhat.com>
Sat, 4 Jan 2003 02:13:46 +0000 (02:13 +0000)
(get_machine_name): Likewise.
(dump_relocations): Likewise.
* NEWS: Mention IQ2000 support.

binutils/ChangeLog
binutils/MAINTAINERS
binutils/NEWS
binutils/readelf.c

index 2f6d1b0..0f8cb39 100644 (file)
@@ -1,3 +1,10 @@
+2003-01-02  Ben Elliston  <bje@redhat.com>
+
+       * readelf.c (guess_is_rela): Handle EM_IQ2000.
+       (get_machine_name): Likewise.
+       (dump_relocations): Likewise.
+       * NEWS: Mention IQ2000 support.
+
 2003-01-02  Richard Sandiford  <rsandifo@redhat.com>
 
        * readelf.c (get_machine_flags): Handle E_MIPS_ARCH_32R2.
index ad1ca03..98aa5d9 100644 (file)
@@ -65,6 +65,7 @@ responsibility among the other maintainers.
   HPPA elf64      Jeff Law <law@redhat.com> [Basic maintainance only]
   HPPA            Dave Anglin <dave.anglin@nrc.ca>
   IA64            Jim Wilson <wilson@redhat.com>
+  IQ2000          Stan Cox <scox@redhat.com>
   i860            Jason Eckhardt <jle@redhat.com>
   ix86            Alan Modra <amodra@bigpond.net.au>
   ix86 PE         Christopher Faylor <cgf@redhat.com>
index e9e4f40..d538cb4 100644 (file)
@@ -1,5 +1,7 @@
 -*- text -*-
 
+* Support for Vitesse IQ2000 added by Red Hat.
+
 * Added 'S' encoding to strings to allow the display of 8-bit characters.
 
 * Added --prefix-symbols=<text>, --prefix-sections=<text> and
index b3d3623..dccbfc1 100644 (file)
@@ -86,6 +86,7 @@
 #include "elf/vax.h"
 #include "elf/x86-64.h"
 #include "elf/xstormy16.h"
+#include "elf/iq2000.h"
 
 #include "bucomm.h"
 #include "getopt.h"
@@ -763,6 +764,7 @@ guess_is_rela (e_machine)
     case EM_VAX:
     case EM_IP2K:
     case EM_IP2K_OLD:
+    case EM_IQ2000:
       return TRUE;
 
     case EM_MMA:
@@ -1245,6 +1247,10 @@ dump_relocations (file, rel_offset, rel_size, symtab, nsyms, strtab, is_rela)
        case EM_IP2K_OLD:
          rtype = elf_ip2k_reloc_type (type);
          break;
+
+       case EM_IQ2000:
+         rtype = elf_iq2000_reloc_type (type);
+         break;
        }
 
       if (rtype == NULL)
@@ -1704,7 +1710,7 @@ get_machine_name (e_machine)
     case EM_ZSP:               return "LSI Logic's 16-bit DSP processor";
     case EM_MMIX:              return "Donald Knuth's educational 64-bit processor";
     case EM_HUANY:             return "Harvard Universitys's machine-independent object format";
-    case EM_PRISM:             return "SiTera Prism";
+    case EM_PRISM:             return "Vitesse Prism";
     case EM_X86_64:            return "Advanced Micro Devices X86-64";
     case EM_S390_OLD:
     case EM_S390:              return "IBM S/390";
@@ -1714,6 +1720,7 @@ get_machine_name (e_machine)
     case EM_DLX:               return "OpenDLX";
     case EM_IP2K_OLD:
     case EM_IP2K:              return "Ubicom IP2xxx 8-bit microcontrollers";
+    case EM_IQ2000:            return "Vitesse IQ2000";
     default:
       sprintf (buff, _("<unknown>: %x"), e_machine);
       return buff;