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

* bfd/archures.c: Add mipsisa32 and mipsisa64. Remove mips32,
mips32_4k and mips64.
* bfd/aoutx.h: Remove bfd_mach_mips32, bfd_mach_mips32_4k,
bfd_mach_mips64.  Add bfd_mach_mipsisa32, bfd_mach_mipsisa64.
* bfd/cpu-mips.c: Ditto.
* bfd/elf32-mips.c (_bfd_mips_elf_final_write_processing): Ditto.
* bfd/bfd-in2.h: Regenerate.

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

index 488f925a5bc246cdb2688e56b67eaa227aa01e27..8fe425034b479c70ee0ef746f3615cb85ac84ed7 100644 (file)
@@ -1,3 +1,14 @@
+2001-08-31  Eric Christopher  <echristo@redhat.com>
+           Jason Eckhardt  <jle@redhat.com>
+
+       * bfd/archures.c: Add mipsisa32 and mipsisa64. Remove mips32,
+       mips32_4k and mips64.
+       * bfd/aoutx.h: Remove bfd_mach_mips32, bfd_mach_mips32_4k,
+       bfd_mach_mips64.  Add bfd_mach_mipsisa32, bfd_mach_mipsisa64.
+       * bfd/cpu-mips.c: Ditto.
+       * bfd/elf32-mips.c (_bfd_mips_elf_final_write_processing): Ditto.
+       * bfd/bfd-in2.h: Regenerate.
+
 2001-08-31  Jakub Jelinek  <jakub@redhat.com>
 
        * elf64-alpha.c (elf64_alpha_relocate_section): Duplicate memory
@@ -33,7 +44,7 @@
 
 2001-08-29  Joel Sherrill <joel@OARcorp.com>
 
-       * config.bfd (i[3456]86-*-rtems*, m68*-*-rtems*): Change 
+       * config.bfd (i[3456]86-*-rtems*, m68*-*-rtems*): Change
        default from coff to elf.
 
 2001-08-29  Jeff Law <law@redhat.com>
@@ -61,7 +72,7 @@
 
 2001-08-29  Tom Rix <trix@redhat.com>
 
-       * xcofflink.c (xcoff_link_add_symbols):  Fix XTY_LD symbol that 
+       * xcofflink.c (xcoff_link_add_symbols):  Fix XTY_LD symbol that
        does not follow a XTY_SD.
 
 2001-08-29  Alan Modra  <amodra@bigpond.net.au>
index 603cac7c8629a3144477f2541ec9d821448e1e9e..e343f991a59c475ade4f687613be54360891ffbd 100644 (file)
@@ -779,10 +779,9 @@ NAME(aout,machine_type) (arch, machine, unknown)
     case bfd_mach_mips10000:
     case bfd_mach_mips12000:
     case bfd_mach_mips16:
-    case bfd_mach_mips32:
-    case bfd_mach_mips32_4k:
+    case bfd_mach_mipsisa32:
     case bfd_mach_mips5:
-    case bfd_mach_mips64:
+    case bfd_mach_mipsisa64:
     case bfd_mach_mips_sb1:
       /* FIXME: These should be MIPS3, MIPS4, MIPS16, MIPS32, etc.  */
       arch_flags = M_MIPS2;
index af5f50b723d514fabdca54f10d0fe7902180b1b5..49418b8825a5bc3accf0cbbfafe74fe38886d932 100644 (file)
@@ -137,11 +137,10 @@ DESCRIPTION
 .#define bfd_mach_mips10000            10000
 .#define bfd_mach_mips12000            12000
 .#define bfd_mach_mips16               16
-.#define bfd_mach_mips32                32
-.#define bfd_mach_mips32_4k             3204113 {* 32, 04, octal 'K' *}
 .#define bfd_mach_mips5                 5
-.#define bfd_mach_mips64                64
 .#define bfd_mach_mips_sb1              12310201 {* octal 'SB', 01 *}
+.#define bfd_mach_mipsisa32             32
+.#define bfd_mach_mipsisa64             64
 .  bfd_arch_i386,      {* Intel 386 *}
 .#define bfd_mach_i386_i386 0
 .#define bfd_mach_i386_i8086 1
index 8a4c33432e927b0af71ef2a5da0ad522731ea281..6467453eff3bf543630b07828ab8a4a8b95c52db 100644 (file)
@@ -1437,11 +1437,10 @@ enum bfd_architecture
 #define bfd_mach_mips10000             10000
 #define bfd_mach_mips12000             12000
 #define bfd_mach_mips16                16
-#define bfd_mach_mips32                32
-#define bfd_mach_mips32_4k             3204113 /* 32, 04, octal 'K' */
 #define bfd_mach_mips5                 5
-#define bfd_mach_mips64                64
 #define bfd_mach_mips_sb1              12310201 /* octal 'SB', 01 */
+#define bfd_mach_mipsisa32             32
+#define bfd_mach_mipsisa64             64
   bfd_arch_i386,      /* Intel 386 */
 #define bfd_mach_i386_i386 0
 #define bfd_mach_i386_i8086 1
index ee6574b242d10a24b2b6057421c0223431ebe72b..888d863124e640e116b82673a2f3b3fe7795eed0 100644 (file)
@@ -57,10 +57,9 @@ enum
   I_mips10000,
   I_mips12000,
   I_mips16,
-  I_mips32,
-  I_mips32_4k,
   I_mips5,
-  I_mips64,
+  I_mipsisa32,
+  I_mipsisa64,
   I_sb1,
 };
 
@@ -84,10 +83,9 @@ static const bfd_arch_info_type arch_info_struct[] =
   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)),
-  N (32, 32, bfd_mach_mips32,   "mips:mips32",    false, NN(I_mips32)),
-  N (32, 32, bfd_mach_mips32_4k,"mips:mips32-4k", false, NN(I_mips32_4k)),
   N (64, 64, bfd_mach_mips5,    "mips:mips5",     false, NN(I_mips5)),
-  N (64, 64, bfd_mach_mips64,   "mips:mips64",    false, NN(I_mips64)),
+  N (32, 32, bfd_mach_mipsisa32,  "mips:isa32",   false, NN(I_mipsisa32)),
+  N (64, 64, bfd_mach_mipsisa64,  "mips:isa64",   false, NN(I_mipsisa64)),
   N (64, 64, bfd_mach_mips_sb1, "mips:sb1",       false, 0),
 };
 
index 6eecd5511df9e605509b8e57e9e703b1af6f5796..a1d7205b9868881be3032e0aaefebee469a56aec 100644 (file)
@@ -1886,9 +1886,6 @@ elf_mips_mach (flags)
     case E_MIPS_MACH_4650:
       return bfd_mach_mips4650;
 
-    case E_MIPS_MACH_MIPS32_4K:
-      return bfd_mach_mips32_4k;
-
     case E_MIPS_MACH_SB1:
       return bfd_mach_mips_sb1;
 
@@ -1917,11 +1914,11 @@ elf_mips_mach (flags)
          break;
 
        case E_MIPS_ARCH_32:
-         return bfd_mach_mips32;
+         return bfd_mach_mipsisa32;
          break;
 
        case E_MIPS_ARCH_64:
-         return bfd_mach_mips64;
+         return bfd_mach_mipsisa64;
          break;
        }
     }
@@ -2412,25 +2409,20 @@ _bfd_mips_elf_final_write_processing (abfd, linker)
       val = E_MIPS_ARCH_4;
       break;
 
-    case bfd_mach_mips32:
-      val = E_MIPS_ARCH_32;
-      break;
-
-    case bfd_mach_mips32_4k:
-      val = E_MIPS_ARCH_32 | E_MIPS_MACH_MIPS32_4K;
-      break;
-
     case bfd_mach_mips5:
       val = E_MIPS_ARCH_5;
       break;
 
-    case bfd_mach_mips64:
-      val = E_MIPS_ARCH_64;
-      break;
-
     case bfd_mach_mips_sb1:
       val = E_MIPS_ARCH_64 | E_MIPS_MACH_SB1;
       break;
+
+    case bfd_mach_mipsisa32:
+      val = E_MIPS_ARCH_32;
+      break;
+
+    case bfd_mach_mipsisa64:
+      val = E_MIPS_ARCH_64;
     }
 
   elf_elfheader (abfd)->e_flags &= ~(EF_MIPS_ARCH | EF_MIPS_MACH);