diff options
author | Eric Christopher <echristo@gmail.com> | 2001-08-31 21:24:28 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2001-08-31 21:24:28 +0000 |
commit | a1cd6a8fe3b1744a39e4743933ee788b69752235 (patch) | |
tree | 8251141b65c7ecf8488d7d53a35ed17173962d89 /bfd/elf32-mips.c | |
parent | a98b9439f964146173d12b685993a33f74124ff0 (diff) | |
download | gdb-a1cd6a8fe3b1744a39e4743933ee788b69752235.zip gdb-a1cd6a8fe3b1744a39e4743933ee788b69752235.tar.gz gdb-a1cd6a8fe3b1744a39e4743933ee788b69752235.tar.bz2 |
2001-08-31 Eric Christopher <echristo@redhat.com>
Jason Eckhardt <jle@redhat.com>
* bfd/archures.c: Add mipsisa32 and mipsisa64. Remove mips32,
mips32_4k and mips64.
* bfd/aoutx.h: Remove bfd_mach_mips32, bfd_mach_mips32_4k,
bfd_mach_mips64. Add bfd_mach_mipsisa32, bfd_mach_mipsisa64.
* bfd/cpu-mips.c: Ditto.
* bfd/elf32-mips.c (_bfd_mips_elf_final_write_processing): Ditto.
* bfd/bfd-in2.h: Regenerate.
Diffstat (limited to 'bfd/elf32-mips.c')
-rw-r--r-- | bfd/elf32-mips.c | 26 |
1 files changed, 9 insertions, 17 deletions
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c index 6eecd55..a1d7205 100644 --- a/bfd/elf32-mips.c +++ b/bfd/elf32-mips.c @@ -1886,9 +1886,6 @@ elf_mips_mach (flags) case E_MIPS_MACH_4650: return bfd_mach_mips4650; - case E_MIPS_MACH_MIPS32_4K: - return bfd_mach_mips32_4k; - case E_MIPS_MACH_SB1: return bfd_mach_mips_sb1; @@ -1917,11 +1914,11 @@ elf_mips_mach (flags) break; case E_MIPS_ARCH_32: - return bfd_mach_mips32; + return bfd_mach_mipsisa32; break; case E_MIPS_ARCH_64: - return bfd_mach_mips64; + return bfd_mach_mipsisa64; break; } } @@ -2412,25 +2409,20 @@ _bfd_mips_elf_final_write_processing (abfd, linker) val = E_MIPS_ARCH_4; break; - case bfd_mach_mips32: - val = E_MIPS_ARCH_32; - break; - - case bfd_mach_mips32_4k: - val = E_MIPS_ARCH_32 | E_MIPS_MACH_MIPS32_4K; - break; - case bfd_mach_mips5: val = E_MIPS_ARCH_5; break; - 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; + + case bfd_mach_mipsisa32: + val = E_MIPS_ARCH_32; + break; + + case bfd_mach_mipsisa64: + val = E_MIPS_ARCH_64; } elf_elfheader (abfd)->e_flags &= ~(EF_MIPS_ARCH | EF_MIPS_MACH); |