diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2005-08-29 22:25:04 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2005-08-29 22:25:04 +0000 |
commit | 1faab634beec9a5bfe188e7c91256c568e046289 (patch) | |
tree | 0da1cf6ea0b7a96c29206562d0645aac1001faef /bfd/elfxx-ia64.c | |
parent | c9adbffeea78575099c20e1d558897975ebd359e (diff) | |
download | gdb-1faab634beec9a5bfe188e7c91256c568e046289.zip gdb-1faab634beec9a5bfe188e7c91256c568e046289.tar.gz gdb-1faab634beec9a5bfe188e7c91256c568e046289.tar.bz2 |
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c index 140a0c9..6ba5e2d 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) { |