summaryrefslogtreecommitdiff
path: root/bfd/elfxx-ia64.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2005-08-29 22:25:04 +0000
committerH.J. Lu <hjl@lucon.org>2005-08-29 22:25:04 +0000
commit57e4c33018335a8d504714e1ea9a44d1f93010ba (patch)
treeee5040556a4e41f38bf3d5673091036f0b8c5d8d /bfd/elfxx-ia64.c
parenta027190991c42e5358be7c3eb3091c118643d2bc (diff)
downloadbinutils-redhat-57e4c33018335a8d504714e1ea9a44d1f93010ba.tar.gz
2005-08-29 H.J. Lu <hongjiu.lu@intel.com>
PR ld/1247 * elfxx-ia64.c (allocate_fptr): Check undefined symbol.
Diffstat (limited to 'bfd/elfxx-ia64.c')
-rw-r--r--bfd/elfxx-ia64.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c
index 140a0c970e..6ba5e2de2e 100644
--- a/bfd/elfxx-ia64.c
+++ b/bfd/elfxx-ia64.c
@@ -2775,7 +2775,8 @@ allocate_fptr (dyn_i, data)
if (!x->info->executable
&& (!h
|| ELF_ST_VISIBILITY (h->other) == STV_DEFAULT
- || h->root.type != bfd_link_hash_undefweak))
+ || (h->root.type != bfd_link_hash_undefweak
+ && h->root.type != bfd_link_hash_undefined)))
{
if (h && h->dynindx == -1)
{