From 57c7194e0ee5e0d4bd270ccef718dec45bc1f2dc Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Wed, 3 Oct 2001 13:16:18 +0000 Subject: [PATCH] * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Fix typos in last change. --- bfd/ChangeLog | 3 +++ bfd/elfxx-ia64.c | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 35004039b5..a4c2cda662 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,8 @@ 2001-10-03 Alan Modra + * elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Fix typos in last + change. + * configure.in (AC_OUTPUT ): 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 d467a98095..e651b5fd80 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