aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-mips.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf32-mips.c')
-rw-r--r--bfd/elf32-mips.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c
index 88be852..6f80f07 100644
--- a/bfd/elf32-mips.c
+++ b/bfd/elf32-mips.c
@@ -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;