This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
PATCH: Support more MIPS in elf32-mips.c.
- To: binutils at sourceware dot cygnus dot com
- Subject: PATCH: Support more MIPS in elf32-mips.c.
- From: "H . J . Lu" <hjl at lucon dot org>
- Date: Tue, 3 Jul 2001 15:45:31 -0700
With this patch, I can use
# as -march=r5000|r4600|r4400 ....
H.J.
-----
2001-06-09 H.J. Lu <hjl@gnu.org>
* bfd/elf32-mips.c (_bfd_mips_elf_final_write_processing):
Handle bfd_mach_mips4400, bfd_mach_mips4600 and
bfd_mach_mips5000.
--- binutils/bfd/elf32-mips.c.march Thu Jun 7 10:40:00 2001
+++ binutils/bfd/elf32-mips.c Fri Jun 8 23:49:59 2001
@@ -2371,6 +2371,8 @@ _bfd_mips_elf_final_write_processing (ab
case bfd_mach_mips4000:
case bfd_mach_mips4300:
+ case bfd_mach_mips4400:
+ case bfd_mach_mips4600:
val = E_MIPS_ARCH_3;
break;
@@ -2390,6 +2392,7 @@ _bfd_mips_elf_final_write_processing (ab
val = E_MIPS_ARCH_3 | E_MIPS_MACH_4650;
break;
+ case bfd_mach_mips5000:
case bfd_mach_mips8000:
case bfd_mach_mips10000:
case bfd_mach_mips12000: