Add support for the MIPS32

This commit is contained in:
Nick Clifton
2000-09-14 01:47:38 +00:00
parent 9b14b192bb
commit 156c2f8bf7
19 changed files with 474 additions and 240 deletions

View File

@@ -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);