* elf32-mips.c (mips_elf_object_p): Handle E_MIPS_ARCH_4.
authorIan Lance Taylor <ian@airs.com>
Thu, 30 May 1996 16:43:11 +0000 (16:43 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 30 May 1996 16:43:11 +0000 (16:43 +0000)
(mips_elf_final_write_processing): Likewise.

bfd/ChangeLog
bfd/elf32-mips.c

index 26c512b1e4b23ae6cc2164ccfc1b336a2757cca1..0a1bd2947c869f238ee745366a275e16b783545d 100644 (file)
@@ -1,3 +1,8 @@
+Thu May 30 12:38:49 1996  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf32-mips.c (mips_elf_object_p): Handle E_MIPS_ARCH_4.
+       (mips_elf_final_write_processing): Likewise.
+
 Wed May 29 16:15:29 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        64-bit MIPS ELF ABI objdump support:
index 88be8529d77ee27a719cbc4edcb2fbea03b05931..6f80f07ae05d0434f940e6f9a71884bbd8e777f0 100644 (file)
@@ -1465,6 +1465,10 @@ mips_elf_object_p (abfd)
     case E_MIPS_ARCH_3:
       (void) bfd_default_set_arch_mach (abfd, bfd_arch_mips, 4000);
       break;
+
+    case E_MIPS_ARCH_4:
+      (void) bfd_default_set_arch_mach (abfd, bfd_arch_mips, 8000);
+      break;
     }
 
   /* Irix 5 is broken.  Object file symbol tables are not always
@@ -1503,6 +1507,10 @@ mips_elf_final_write_processing (abfd, linker)
       val = E_MIPS_ARCH_3;
       break;
 
+    case 8000:
+      val = E_MIPS_ARCH_4;
+      break;
+
     default:
       val = 0;
       break;