* elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Fix typos in last
authorAlan Modra <amodra@gmail.com>
Wed, 3 Oct 2001 13:16:18 +0000 (13:16 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 3 Oct 2001 13:16:18 +0000 (13:16 +0000)
change.

bfd/ChangeLog
bfd/elfxx-ia64.c

index 3500403..a4c2cda 100644 (file)
@@ -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.
index d467a98..e651b5f 100644 (file)
@@ -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