aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-10-03 13:16:18 +0000
committerAlan Modra <amodra@gmail.com>2001-10-03 13:16:18 +0000
commit57c7194e0ee5e0d4bd270ccef718dec45bc1f2dc (patch)
tree97388c7677e6474cabeb366b84c583f53b69d428
parent87b632fc0798243be498cf837a4be29546081242 (diff)
downloadgdb-57c7194e0ee5e0d4bd270ccef718dec45bc1f2dc.zip
gdb-57c7194e0ee5e0d4bd270ccef718dec45bc1f2dc.tar.gz
gdb-57c7194e0ee5e0d4bd270ccef718dec45bc1f2dc.tar.bz2
* elfxx-ia64.c (elfNN_ia64_hash_copy_indirect): Fix typos in last
change.
-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