aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
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')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf32-mips.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 27c3702..cc75ae3 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+1999-07-28 Mark Mitchell <mark@codesourcery.com>
+
+ * elf32-mips.c (_bfd_mips_elf_relocate_section): Fix typo.
+
1999-07-27 Nick Clifton <nickc@cygnus.com>
Patch generated by Bernd Schmidt. <bernds@cygnus.co.uk>
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;