* elf32-mips.c (mips_elf_object_p): Handle E_MIPS_ARCH_4.

(mips_elf_final_write_processing): Likewise.
This commit is contained in:
Ian Lance Taylor 1996-05-30 16:43:11 +00:00
parent 687455201c
commit cabd8fa0cb
2 changed files with 13 additions and 0 deletions

View File

@ -1,3 +1,8 @@
Thu May 30 12:38:49 1996 Ian Lance Taylor <ian@cygnus.com>
* elf32-mips.c (mips_elf_object_p): Handle E_MIPS_ARCH_4.
(mips_elf_final_write_processing): Likewise.
Wed May 29 16:15:29 1996 Ian Lance Taylor <ian@cygnus.com>
64-bit MIPS ELF ABI objdump support:

View File

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