2001-08-31 Eric Christopher <echristo@redhat.com>
authorEric Christopher <echristo@gmail.com>
Fri, 31 Aug 2001 21:15:00 +0000 (21:15 +0000)
committerEric Christopher <echristo@gmail.com>
Fri, 31 Aug 2001 21:15:00 +0000 (21:15 +0000)
    Jason Eckhardt    <jle@redhat.com>

* mips-dis.c: Add support for bfd_mach_mipsisa32 and
bfd_mach_mipsisa64. Remove bfd_mach_mips32, bfd_mach_mips32_4k,
bfd_mach_mips64.

binutils/ChangeLog
binutils/readelf.c
opcodes/ChangeLog
opcodes/mips-dis.c

index 7c8823134d773781c5c661e7c14af95b69f86513..6b1d848dabe216647b1e78279f2b774d62e1070c 100644 (file)
@@ -1,3 +1,7 @@
+2001-08-31  Eric Christopher  <echristo@redhat.com>
+
+       * readelf.c (get_machine_flags): Remove E_MIPS_MACH_MIPS32_4K.
+
 2001-08-29  Peter Targett  <peter.targett@arccores.com>
 
        * MAINTAINERS: Include ARC Maintainer.
index 3c29c8dff101785b8b00632c79a278ed7348759a..8b8e8b6c7d60bf784e36be277084d5188c6a01c6 100644 (file)
@@ -1639,7 +1639,6 @@ get_machine_flags (e_flags, e_machine)
            case E_MIPS_MACH_4100: strcat (buf, ", 4100"); break;
            case E_MIPS_MACH_4650: strcat (buf, ", 4650"); break;
            case E_MIPS_MACH_4111: strcat (buf, ", 4111"); break;
-           case E_MIPS_MACH_MIPS32_4K: strcat (buf, ", mips32-4k"); break;
            case E_MIPS_MACH_SB1:  strcat (buf, ", sb1");  break;
            default: strcat (buf, " UNKNOWN"); break;
            }
@@ -6384,7 +6383,7 @@ display_debug_macinfo (section, start, file)
 
   return 1;
 }
-  
+
 
 static int
 display_debug_abbrev (section, start, file)
@@ -7109,7 +7108,7 @@ display_debug_info (section, start, file)
                  != (bfd_vma) ((unsigned char *) &external->cu_abbrev_offset
                                - section_begin))
                continue;
-             
+
              if (is_32bit_elf)
                {
                  sym = symtab + ELF32_R_SYM (rp->r_info);
@@ -7180,7 +7179,7 @@ display_debug_info (section, start, file)
          }
 
        begin = ((unsigned char *)
-                get_data (NULL, file, sec->sh_offset, sec->sh_size, 
+                get_data (NULL, file, sec->sh_offset, sec->sh_size,
                           _("debug_abbrev section data")));
        if (!begin)
          return 0;
@@ -8061,7 +8060,7 @@ display_debug_section (section, file)
       return 0;
     }
 
-  start = (unsigned char *) get_data (NULL, file, section->sh_offset, length, 
+  start = (unsigned char *) get_data (NULL, file, section->sh_offset, length,
                                      _("debug section data"));
   if (!start)
     return 0;
@@ -8124,7 +8123,7 @@ process_section_contents (file)
 
                length = section->sh_size;
                start = ((unsigned char *)
-                        get_data (NULL, file, section->sh_offset, length, 
+                        get_data (NULL, file, section->sh_offset, length,
                                   _("debug section data")));
                if (!start)
                  return 0;
index e3f28d8eb07076ddb06d0b3dbf507c6f9a9dc003..3d951876259351ef66e70cf1af228ea5e21deda1 100644 (file)
@@ -1,3 +1,10 @@
+2001-08-31  Eric Christopher  <echristo@redhat.com>
+           Jason Eckhardt    <jle@redhat.com>
+
+       * mips-dis.c: Add support for bfd_mach_mipsisa32 and
+       bfd_mach_mipsisa64. Remove bfd_mach_mips32, bfd_mach_mips32_4k,
+       bfd_mach_mips64.
+
 2001-08-31  Andreas Jaeger  <aj@suse.de>
 
        * tic54x-opc.c: Add default initializers to avoid warnings.
index 58b7dcd2d56347bccab3f99e499ba1d0935b4247..9112898204b7f5aed5e30723cec21254e4d7cb41 100644 (file)
@@ -369,26 +369,23 @@ mips_isa_type (mach, isa, cputype)
       *cputype = CPU_MIPS16;
       *isa = ISA_MIPS3;
       break;
-    case bfd_mach_mips32:
-      *cputype = CPU_MIPS32;
-      *isa = ISA_MIPS32;
-      break;
-    case bfd_mach_mips32_4k:
-      *cputype = CPU_MIPS32_4K;
-      *isa = ISA_MIPS32;
-      break;
     case bfd_mach_mips5:
       *cputype = CPU_MIPS5;
       *isa = ISA_MIPS5;
       break;
-    case bfd_mach_mips64:
-      *cputype = CPU_MIPS64;
-      *isa = ISA_MIPS64;
-      break;
     case bfd_mach_mips_sb1:
       *cputype = CPU_SB1;
       *isa = ISA_MIPS64;
       break;
+    case bfd_mach_mipsisa32:
+      * cputype = CPU_MIPS32;
+      * isa = ISA_MIPS32;
+      break;
+    case bfd_mach_mipsisa64:
+      * cputype = CPU_MIPS64;
+      * isa = ISA_MIPS64;
+      break;
+
     default:
       *cputype = CPU_R3000;
       *isa = ISA_MIPS3;