2002-01-17 Eric Christopher <echristo@redhat.com>
authorEric Christopher <echristo@gmail.com>
Thu, 17 Jan 2002 20:06:48 +0000 (20:06 +0000)
committerEric Christopher <echristo@gmail.com>
Thu, 17 Jan 2002 20:06:48 +0000 (20:06 +0000)
* elf32-mips.c (mips_elf_calculate_relocation): Fix typo.

bfd/ChangeLog
bfd/elf32-mips.c

index 9029a4e79ddc5201cad24b530ed86d1f7565e2f9..067554d3dc9dc7f501179e2ac7f6a2fd7d0a377f 100644 (file)
@@ -1,3 +1,7 @@
+2002-01-17  Eric Christopher  <echristo@redhat.com>
+
+       * elf32-mips.c (mips_elf_calculate_relocation): Fix typo.
+
 2002-01-17  Nick Clifton  <nickc@cambridge.redhat.com>
 
        * po/bfd.pot: Regenerate.
index 110b6098e8fc1667c59f7503ad9b19acce8b1a6e..41b5909bad4fa3bdf82e2bef39cad98d9b93c605 100644 (file)
@@ -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);