From 55baa95bb2644182e66ee00f1f3d406e6e09c290 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 17 Jan 2002 20:06:48 +0000 Subject: [PATCH] 2002-01-17 Eric Christopher * elf32-mips.c (mips_elf_calculate_relocation): Fix typo. --- bfd/ChangeLog | 4 ++++ bfd/elf32-mips.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 9029a4e79dd..067554d3dc9 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2002-01-17 Eric Christopher + + * elf32-mips.c (mips_elf_calculate_relocation): Fix typo. + 2002-01-17 Nick Clifton * po/bfd.pot: Regenerate. diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c index 110b6098e8f..41b5909bad4 100644 --- a/bfd/elf32-mips.c +++ b/bfd/elf32-mips.c @@ -6734,8 +6734,8 @@ mips_elf_calculate_relocation (abfd, /* Calls from 16-bit code to 32-bit code and vice versa require the special jalx instruction. */ *require_jalxp = (!info->relocateable - && (((r_type == R_MIPS16_26) != target_is_16_bit_code_p - || ((r_type == R_MIPS_26) == target_is_16_bit_code_p)))); + && (((r_type == R_MIPS16_26) && !target_is_16_bit_code_p) + || ((r_type == R_MIPS_26) && target_is_16_bit_code_p))); local_p = mips_elf_local_relocation_p (input_bfd, relocation, local_sections, true); -- 2.30.2