2005-08-29 H.J. Lu <hongjiu.lu@intel.com>

PR ld/1247
	* elfxx-ia64.c (allocate_fptr): Check undefined symbol.
This commit is contained in:
H.J. Lu 2005-08-29 22:25:04 +00:00
parent c9adbffeea
commit 1faab634be
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-08-29 H.J. Lu <hongjiu.lu@intel.com>
PR ld/1247
* elfxx-ia64.c (allocate_fptr): Check undefined symbol.
2005-08-29 Steven J. Hill <sjhill@realitydiluted.com>
* elfxx-mips.c (_bfd_mips_elf_relocate_section): Initialise

View File

@ -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)
{