summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Cox <scox@redhat.com>2002-09-18 17:28:37 +0000
committerStan Cox <scox@redhat.com>2002-09-18 17:28:37 +0000
commit3a9e191efe93f08b63db2f2d70b02e491a774242 (patch)
tree469cc8a2bf47592fc75368e90fd5c697dc280ef7
parent0bb615c8735870b279fe122e0c58d45d236fdf91 (diff)
downloadbinutils-redhat-3a9e191efe93f08b63db2f2d70b02e491a774242.tar.gz
* elf64-mips.c (mips_elf64_be_swap_reloca_out): Handle type2 and type3.
-rw-r--r--bfd/elf64-mips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf64-mips.c b/bfd/elf64-mips.c
index cc7ec40723..bf98c9136c 100644
--- a/bfd/elf64-mips.c
+++ b/bfd/elf64-mips.c
@@ -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);