aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf64-mips.c
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
commit47293a4ce47ca2c4e2ed5b10210abb40f08a44b0 (patch)
tree6498f4d95c273afbae47805a0090cd3c52229dac /bfd/elf64-mips.c
parentafb5c968b6cf516ce7ef786eec0def9a800f4b63 (diff)
downloadgdb-47293a4ce47ca2c4e2ed5b10210abb40f08a44b0.zip
gdb-47293a4ce47ca2c4e2ed5b10210abb40f08a44b0.tar.gz
gdb-47293a4ce47ca2c4e2ed5b10210abb40f08a44b0.tar.bz2
* elf64-mips.c (mips_elf64_be_swap_reloca_out): Handle type2 and type3.
Diffstat (limited to 'bfd/elf64-mips.c')
-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 cc7ec40..bf98c91 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);