diff options
author | Eric Christopher <echristo@gmail.com> | 2002-01-17 20:06:48 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2002-01-17 20:06:48 +0000 |
commit | 55baa95bb2644182e66ee00f1f3d406e6e09c290 (patch) | |
tree | c8606ee6b0e3041ce989ab78d708f52b6ed429d3 /bfd/elf32-mips.c | |
parent | b1ffc257459eb16255e5e35a95b1b753d517eb07 (diff) | |
download | gdb-55baa95bb2644182e66ee00f1f3d406e6e09c290.zip gdb-55baa95bb2644182e66ee00f1f3d406e6e09c290.tar.gz gdb-55baa95bb2644182e66ee00f1f3d406e6e09c290.tar.bz2 |
2002-01-17 Eric Christopher <echristo@redhat.com>
* elf32-mips.c (mips_elf_calculate_relocation): Fix typo.
Diffstat (limited to 'bfd/elf32-mips.c')
-rw-r--r-- | bfd/elf32-mips.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c index 110b609..41b5909 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); |