summaryrefslogtreecommitdiff
path: root/bfd/elf32-mips.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-05-23 17:26:40 +0000
committerNick Clifton <nickc@redhat.com>2001-05-23 17:26:40 +0000
commitd1cf510e5e1ab5cb49de51ae96ef011ec0ab7510 (patch)
tree9189d3cd2efd6281a0ee083401bc11fa84863dbb /bfd/elf32-mips.c
parent6c426cf36e042f2ef86fdb7d6c7e5e6a7ddb0e1c (diff)
downloadbinutils-gdb-d1cf510e5e1ab5cb49de51ae96ef011ec0ab7510.tar.gz
Add MIPS r12k support
Diffstat (limited to 'bfd/elf32-mips.c')
-rw-r--r--bfd/elf32-mips.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c
index 70e9dc9e4df..0f166a9037f 100644
--- a/bfd/elf32-mips.c
+++ b/bfd/elf32-mips.c
@@ -2390,6 +2390,8 @@ _bfd_mips_elf_final_write_processing (abfd, linker)
break;
case bfd_mach_mips8000:
+ case bfd_mach_mips10000:
+ case bfd_mach_mips12000:
val = E_MIPS_ARCH_4;
break;
@@ -8332,7 +8334,7 @@ _bfd_mips_elf_size_dynamic_sections (output_bfd, info)
int i;
bfd_size_type loadable_size = 0;
bfd_size_type local_gotno;
- struct _bfd *sub;
+ bfd *sub;
BFD_ASSERT (elf_section_data (s) != NULL);
g = (struct mips_got_info *) elf_section_data (s)->tdata;