aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-05-30 16:43:11 +0000
committerIan Lance Taylor <ian@airs.com>1996-05-30 16:43:11 +0000
commitcabd8fa0cb0c066f725f6ecb6b3b1946c48ac6b5 (patch)
tree612cb98e5f25ae0be1eeb3db5c19e6a66e6dfaea /bfd
parent687455201c81e055738d5c55d076ee2015d53545 (diff)
downloadgdb-cabd8fa0cb0c066f725f6ecb6b3b1946c48ac6b5.zip
gdb-cabd8fa0cb0c066f725f6ecb6b3b1946c48ac6b5.tar.gz
gdb-cabd8fa0cb0c066f725f6ecb6b3b1946c48ac6b5.tar.bz2
* elf32-mips.c (mips_elf_object_p): Handle E_MIPS_ARCH_4.
(mips_elf_final_write_processing): Likewise.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-mips.c8
2 files changed, 13 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 26c512b..0a1bd29 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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:
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;