aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-mips.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-07-28 08:19:34 +0000
committerMark Mitchell <mark@codesourcery.com>1999-07-28 08:19:34 +0000
commitb89db8f2f00988b573db3afe97ce4ea2d3894126 (patch)
tree027c4ea65cfe61cd7b6127128085804aa3d92703 /bfd/elf32-mips.c
parent38e31547d13f53d5cd9ed4fa5644e0634ed730a2 (diff)
downloadgdb-b89db8f2f00988b573db3afe97ce4ea2d3894126.zip
gdb-b89db8f2f00988b573db3afe97ce4ea2d3894126.tar.gz
gdb-b89db8f2f00988b573db3afe97ce4ea2d3894126.tar.bz2
* elf32-mips.c (_bfd_mips_elf_relocate_section): Fix typo.
Diffstat (limited to 'bfd/elf32-mips.c')
-rw-r--r--bfd/elf32-mips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-mips.c b/bfd/elf32-mips.c
index 6154558..35ebaa5 100644
--- a/bfd/elf32-mips.c
+++ b/bfd/elf32-mips.c
@@ -6601,7 +6601,7 @@ _bfd_mips_elf_relocate_section (output_bfd, info, input_bfd, input_section,
for the next. */
if (rel + 1 < relend
&& rel->r_offset == rel[1].r_offset
- && r_type != R_MIPS_NONE)
+ && ELF32_R_TYPE (rel[1].r_info) != R_MIPS_NONE)
use_saved_addend_p = true;
else
use_saved_addend_p = false;