+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
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>
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>
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;
.#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
#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
I_mips10000,
I_mips12000,
I_mips16,
- I_mips32,
- I_mips32_4k,
I_mips5,
- I_mips64,
+ I_mipsisa32,
+ I_mipsisa64,
I_sb1,
};
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),
};
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;
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;
}
}
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);