aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-mips.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-12-02 01:10:33 +0000
committerNick Clifton <nickc@redhat.com>2000-12-02 01:10:33 +0000
commitc6c98b3833d01c45200708006011e5cecd461fac (patch)
treec07dc1c4a235bd50c648bec5d6adbc70a0c844ef /bfd/elf32-mips.c
parent84ea6cf2c5170547163a4bf09ac2bbb3cd424685 (diff)
downloadgdb-c6c98b3833d01c45200708006011e5cecd461fac.zip
gdb-c6c98b3833d01c45200708006011e5cecd461fac.tar.gz
gdb-c6c98b3833d01c45200708006011e5cecd461fac.tar.bz2
Add MIPS SB1 machine
Diffstat (limited to 'bfd/elf32-mips.c')
-rw-r--r--bfd/elf32-mips.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c
index 4b0b641..edb708a 100644
--- a/bfd/elf32-mips.c
+++ b/bfd/elf32-mips.c
@@ -1846,6 +1846,9 @@ elf_mips_mach (flags)
case E_MIPS_MACH_MIPS32_4K:
return bfd_mach_mips32_4k;
+ case E_MIPS_MACH_SB1:
+ return bfd_mach_mips_sb1;
+
default:
switch (flags & EF_MIPS_ARCH)
{
@@ -2369,6 +2372,10 @@ _bfd_mips_elf_final_write_processing (abfd, linker)
case bfd_mach_mips64:
val = E_MIPS_ARCH_64;
break;
+
+ case bfd_mach_mips_sb1:
+ val = E_MIPS_ARCH_64 | E_MIPS_MACH_SB1;
+ break;
}
elf_elfheader (abfd)->e_flags &= ~(EF_MIPS_ARCH | EF_MIPS_MACH);