* archures.c: Define bfd_mach_mips9000.
authorIan Lance Taylor <ian@airs.com>
Thu, 9 Dec 2004 06:08:45 +0000 (06:08 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 9 Dec 2004 06:08:45 +0000 (06:08 +0000)
* elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_9000.
(mips_set_isa_flags): Handle bfd_mach_mips9000.
* cpu-mips.c (I_mips9000): Define.
(arch_info_struct): Add case for bfd_mach_mips9000.
* aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mips9000.
* bfd-in2.h: Regenerate.

bfd/ChangeLog
bfd/aoutx.h
bfd/archures.c
bfd/bfd-in2.h
bfd/cpu-mips.c
bfd/elfxx-mips.c

index 672f1896051e73dabd7691896f6196876f1a8540..5b40903e49cf28a1f5dcdae41d68f62dc7f62342 100644 (file)
@@ -1,3 +1,13 @@
+2004-12-09  Ian Lance Taylor  <ian@wasabisystems.com>
+
+       * archures.c: Define bfd_mach_mips9000.
+       * elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_9000.
+       (mips_set_isa_flags): Handle bfd_mach_mips9000.
+       * cpu-mips.c (I_mips9000): Define.
+       (arch_info_struct): Add case for bfd_mach_mips9000.
+       * aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mips9000.
+       * bfd-in2.h: Regenerate.
+
 2004-12-08  Ian Lance Taylor  <ian@wasabisystems.com>
 
        * elfxx-mips.c (mips_elf_calculate_relocation): Test for R_MIPS_26
index d629d80d466e172038cdc00e176846843091a19c..34a2870175601254598abe703d0c151384a1bf72 100644 (file)
@@ -793,6 +793,7 @@ NAME(aout,machine_type) (arch, machine, unknown)
        case bfd_mach_mips4600:
        case bfd_mach_mips4650:
        case bfd_mach_mips8000:
+       case bfd_mach_mips9000:
        case bfd_mach_mips10000:
        case bfd_mach_mips12000:
        case bfd_mach_mips16:
index 9a83fa45c6855bec4508063e70d3072959ab6e99..b7fa3bc65863d21c15d01338351f180a5174d8da 100644 (file)
@@ -149,6 +149,7 @@ DESCRIPTION
 .#define bfd_mach_mips6000             6000
 .#define bfd_mach_mips7000             7000
 .#define bfd_mach_mips8000             8000
+.#define bfd_mach_mips9000             9000
 .#define bfd_mach_mips10000            10000
 .#define bfd_mach_mips12000            12000
 .#define bfd_mach_mips16               16
index b10883c310835216a324179e7ed67c247e001cb7..f60382323b6dadd4fe0044068c293becbe41d316 100644 (file)
@@ -1600,6 +1600,7 @@ enum bfd_architecture
 #define bfd_mach_mips6000              6000
 #define bfd_mach_mips7000              7000
 #define bfd_mach_mips8000              8000
+#define bfd_mach_mips9000              9000
 #define bfd_mach_mips10000             10000
 #define bfd_mach_mips12000             12000
 #define bfd_mach_mips16                16
index 01ecc4e40d0bc78a3a589185c8b5a581258d9aeb..c32dc0b4e2c00b64f49e78c79758ca3d53124409 100644 (file)
@@ -76,6 +76,7 @@ enum
   I_mips6000,
   I_mips7000,
   I_mips8000,
+  I_mips9000,
   I_mips10000,
   I_mips12000,
   I_mips16,
@@ -108,6 +109,7 @@ static const bfd_arch_info_type arch_info_struct[] =
   N (32, 32, bfd_mach_mips6000, "mips:6000",      FALSE, NN(I_mips6000)),
   N (64, 64, bfd_mach_mips7000, "mips:7000",      FALSE, NN(I_mips7000)),
   N (64, 64, bfd_mach_mips8000, "mips:8000",      FALSE, NN(I_mips8000)),
+  N (64, 64, bfd_mach_mips9000, "mips:9000",      FALSE, NN(I_mips9000)),
   N (64, 64, bfd_mach_mips10000,"mips:10000",     FALSE, NN(I_mips10000)),
   N (64, 64, bfd_mach_mips12000,"mips:12000",     FALSE, NN(I_mips12000)),
   N (64, 64, bfd_mach_mips16,   "mips:16",        FALSE, NN(I_mips16)),
index ae553b4cb46df178a1b0231178727608953cdafa..d246d4184a45675cc54d00afcf0dab896d1f5997 100644 (file)
@@ -4023,6 +4023,9 @@ _bfd_elf_mips_mach (flagword flags)
     case E_MIPS_MACH_5500:
       return bfd_mach_mips5500;
 
+    case E_MIPS_MACH_9000:
+      return bfd_mach_mips9000;
+
     case E_MIPS_MACH_SB1:
       return bfd_mach_mips_sb1;
 
@@ -7073,6 +7076,10 @@ mips_set_isa_flags (bfd *abfd)
       val = E_MIPS_ARCH_4 | E_MIPS_MACH_5500;
       break;
 
+    case bfd_mach_mips9000:
+      val = E_MIPS_ARCH_4 | E_MIPS_MACH_9000;
+      break;
+
     case bfd_mach_mips5000:
     case bfd_mach_mips7000:
     case bfd_mach_mips8000:
@@ -8803,6 +8810,7 @@ static const struct mips_mach_extension mips_mach_extensions[] = {
   { bfd_mach_mips10000, bfd_mach_mips8000 },
   { bfd_mach_mips5000, bfd_mach_mips8000 },
   { bfd_mach_mips7000, bfd_mach_mips8000 },
+  { bfd_mach_mips9000, bfd_mach_mips8000 },
 
   /* VR4100 extensions.  */
   { bfd_mach_mips4120, bfd_mach_mips4100 },