aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2004-12-09 06:08:45 +0000
committerIan Lance Taylor <ian@airs.com>2004-12-09 06:08:45 +0000
commit0d2e43ed7710692a20f05c471fd346175e2d35ab (patch)
tree09ba284d3878e6c0b5fd8e88a6ea22b6caf055c0 /bfd/elfxx-mips.c
parent69881c930f2be4f8a98f195e329d012f8b4b2cc5 (diff)
downloadgdb-0d2e43ed7710692a20f05c471fd346175e2d35ab.zip
gdb-0d2e43ed7710692a20f05c471fd346175e2d35ab.tar.gz
gdb-0d2e43ed7710692a20f05c471fd346175e2d35ab.tar.bz2
* archures.c: Define bfd_mach_mips9000.
* elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_9000. (mips_set_isa_flags): Handle bfd_mach_mips9000. * cpu-mips.c (I_mips9000): Define. (arch_info_struct): Add case for bfd_mach_mips9000. * aoutx.h (NAME(aout,machine_type)): Handle bfd_mach_mips9000. * bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r--bfd/elfxx-mips.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index ae553b4..d246d41 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -4023,6 +4023,9 @@ _bfd_elf_mips_mach (flagword flags)
case E_MIPS_MACH_5500:
return bfd_mach_mips5500;
+ case E_MIPS_MACH_9000:
+ return bfd_mach_mips9000;
+
case E_MIPS_MACH_SB1:
return bfd_mach_mips_sb1;
@@ -7073,6 +7076,10 @@ mips_set_isa_flags (bfd *abfd)
val = E_MIPS_ARCH_4 | E_MIPS_MACH_5500;
break;
+ case bfd_mach_mips9000:
+ val = E_MIPS_ARCH_4 | E_MIPS_MACH_9000;
+ break;
+
case bfd_mach_mips5000:
case bfd_mach_mips7000:
case bfd_mach_mips8000:
@@ -8803,6 +8810,7 @@ static const struct mips_mach_extension mips_mach_extensions[] = {
{ bfd_mach_mips10000, bfd_mach_mips8000 },
{ bfd_mach_mips5000, bfd_mach_mips8000 },
{ bfd_mach_mips7000, bfd_mach_mips8000 },
+ { bfd_mach_mips9000, bfd_mach_mips8000 },
/* VR4100 extensions. */
{ bfd_mach_mips4120, bfd_mach_mips4100 },