diff options
author | Nick Clifton <nickc@redhat.com> | 2000-09-14 01:47:38 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2000-09-14 01:47:38 +0000 |
commit | 156c2f8bf75a86dfa719220f9f259196d9d2491b (patch) | |
tree | 410e768f761f1c8884cc7529e6d449bde2d4dc26 /bfd/elf32-mips.c | |
parent | 9b14b192bba894ebaa57346c116d8feda54829de (diff) | |
download | gdb-156c2f8bf75a86dfa719220f9f259196d9d2491b.zip gdb-156c2f8bf75a86dfa719220f9f259196d9d2491b.tar.gz gdb-156c2f8bf75a86dfa719220f9f259196d9d2491b.tar.bz2 |
Add support for the MIPS32
Diffstat (limited to 'bfd/elf32-mips.c')
-rw-r--r-- | bfd/elf32-mips.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c index 5ab839e..fd8847a 100644 --- a/bfd/elf32-mips.c +++ b/bfd/elf32-mips.c @@ -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); |