diff options
Diffstat (limited to 'bfd/elf32-mips.c')
-rw-r--r-- | bfd/elf32-mips.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c index 5ab839e06cd..fd8847a8e2c 100644 --- a/bfd/elf32-mips.c +++ b/bfd/elf32-mips.c @@ -1848,6 +1848,9 @@ elf_mips_mach (flags) case E_MIPS_MACH_4650: return bfd_mach_mips4650; + case E_MIPS_MACH_MIPS32: + return bfd_mach_mips4K; + default: switch (flags & EF_MIPS_ARCH) { @@ -2347,6 +2350,10 @@ _bfd_mips_elf_final_write_processing (abfd, linker) case bfd_mach_mips8000: val = E_MIPS_ARCH_4; break; + + case bfd_mach_mips4K: + val = E_MIPS_ARCH_2 | E_MIPS_MACH_MIPS32; + break; } elf_elfheader (abfd)->e_flags &= ~ (EF_MIPS_ARCH | EF_MIPS_MACH); |