OSDN Git Service

* elf64-mips.c (mips_elf64_be_swap_reloca_out): Handle type2 and type3.
authorStan Cox <scox@redhat.com>
Wed, 18 Sep 2002 17:28:37 +0000 (17:28 +0000)
committerStan Cox <scox@redhat.com>
Wed, 18 Sep 2002 17:28:37 +0000 (17:28 +0000)
bfd/elf64-mips.c

index cc7ec40..bf98c91 100644 (file)
@@ -1371,9 +1371,9 @@ mips_elf64_be_swap_reloca_out (abfd, src, dst)
   BFD_ASSERT(src[1].r_addend == 0);
   BFD_ASSERT(src[2].r_addend == 0);
 
-  mirela.r_type2 = ELF64_MIPS_R_TYPE2 (src[1].r_info);
+  mirela.r_type2 = ELF64_MIPS_R_TYPE (src[1].r_info);
   mirela.r_ssym = ELF64_MIPS_R_SSYM (src[1].r_info);
-  mirela.r_type3 = ELF64_MIPS_R_TYPE3 (src[2].r_info);
+  mirela.r_type3 = ELF64_MIPS_R_TYPE (src[2].r_info);
 
   mips_elf64_swap_reloca_out (abfd, &mirela,
                              (Elf64_Mips_External_Rela *) dst);