aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog3
-rw-r--r--bfd/elfxx-ia64.c6
2 files changed, 6 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 3500403..a4c2cda 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,8 @@
2001-10-03 Alan Modra <amodra@bigpond.net.au>
+ * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Fix typos in last
+ change.
+
* configure.in (AC_OUTPUT <bfd-in3.h>): Remove version.h.
* configure: Regenerate.
* Makefile.am (BFD_H_FILES): Add version.h.
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c
index d467a98..e651b5f 100644
--- a/bfd/elfxx-ia64.c
+++ b/bfd/elfxx-ia64.c
@@ -1512,8 +1512,8 @@ elfNN_ia64_hash_copy_indirect (xdir, xind)
{
struct elfNN_ia64_link_hash_entry *dir, *ind;
- dir = (struct elfNN_ia64_link_hash_entry *)xdir;
- ind = (struct elfNN_ia64_link_hash_entry *)xind;
+ dir = (struct elfNN_ia64_link_hash_entry *) xdir;
+ ind = (struct elfNN_ia64_link_hash_entry *) xind;
/* Copy down any references that we may have already seen to the
symbol which just became indirect. */
@@ -1524,7 +1524,7 @@ elfNN_ia64_hash_copy_indirect (xdir, xind)
| ELF_LINK_HASH_REF_REGULAR
| ELF_LINK_HASH_REF_REGULAR_NONWEAK));
- if (dir == ind->weakdef)
+ if (xdir == xind->weakdef)
return;
/* Copy over the got and plt data. This would have been done