2005-08-29 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Mon, 29 Aug 2005 22:25:04 +0000 (22:25 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 29 Aug 2005 22:25:04 +0000 (22:25 +0000)
PR ld/1247
* elfxx-ia64.c (allocate_fptr): Check undefined symbol.

bfd/ChangeLog
bfd/elfxx-ia64.c

index b991a83e5f7f2263fb308cf8f5aac8b889b8505e..3d0e28299a62326a6d42229a1408311281a47b8e 100644 (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
index 140a0c970e16727c4b08d856e3b8de20b6369b41..6ba5e2de2e0176a227a383163b2982e4bfe3595f 100644 (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)
            {