aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2011-07-11 13:54:52 +0000
committerH.J. Lu <hjl.tools@gmail.com>2011-07-11 13:54:52 +0000
commit23ebcd303218fe3c11f776a7178fe052ad9ce4cd (patch)
treee098fdd34039b4ab5c80497350078fe1fa0abc67
parent04ad99e60b4658ff3e7565000b5862c74cce2729 (diff)
downloadfsf-binutils-gdb-23ebcd303218fe3c11f776a7178fe052ad9ce4cd.zip
fsf-binutils-gdb-23ebcd303218fe3c11f776a7178fe052ad9ce4cd.tar.gz
fsf-binutils-gdb-23ebcd303218fe3c11f776a7178fe052ad9ce4cd.tar.bz2
Fix a typo in elfnn-ia64.c (count_dyn_reloc).
2011-07-11 H.J. Lu <hongjiu.lu@intel.com> PR ld/12978 * elfnn-ia64.c (count_dyn_reloc): Fix a typo.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elfnn-ia64.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index a1b9197..e469ef2 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-11 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/12978
+ * elfnn-ia64.c (count_dyn_reloc): Fix a typo.
+
2011-07-09 Alan Modra <amodra@gmail.com>
PR ld/12942
diff --git a/bfd/elfnn-ia64.c b/bfd/elfnn-ia64.c
index bc31fca..3e2ee0b 100644
--- a/bfd/elfnn-ia64.c
+++ b/bfd/elfnn-ia64.c
@@ -2129,7 +2129,7 @@ count_dyn_reloc (bfd *abfd, struct elfNN_ia64_dyn_sym_info *dyn_i,
rent->count = 0;
dyn_i->reloc_entries = rent;
}
- rent->reltext |= reltext;
+ rent->reltext = reltext;
rent->count++;
return TRUE;