From: H.J. Lu Date: Mon, 29 Aug 2005 22:25:04 +0000 (+0000) Subject: 2005-08-29 H.J. Lu X-Git-Tag: gdb-csl-arm-20051020-branchpoint~360 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1faab634beec9a5bfe188e7c91256c568e046289;p=external%2Fbinutils.git 2005-08-29 H.J. Lu PR ld/1247 * elfxx-ia64.c (allocate_fptr): Check undefined symbol. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b991a83..3d0e282 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2005-08-29 H.J. Lu + + PR ld/1247 + * elfxx-ia64.c (allocate_fptr): Check undefined symbol. + 2005-08-29 Steven J. Hill * elfxx-mips.c (_bfd_mips_elf_relocate_section): Initialise 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) {