2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 16 Oct 2003 21:05:32 +0000 (21:05 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 16 Oct 2003 21:05:32 +0000 (21:05 +0000)
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also warn
undefined patterns with '*'.

bfd/ChangeLog
bfd/elflink.h

index 337c7c8c7a5ae39f58f36ae87cecae6586beccdb..cd135557cf06cb1fcf5f26e8439b0dc3829c168e 100644 (file)
@@ -1,3 +1,8 @@
+2003-10-16  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also warn
+       undefined patterns with '*'.
+
 2003-10-16  H.J. Lu  <hongjiu.lu@intel.com>
 
        * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Don't
index 71fdbaa3030b9117b502db17380d0aef992e6275..383cb88b068a5be2760b325aa72e8caa0a2e0bf5 100644 (file)
@@ -2125,8 +2125,7 @@ NAME(bfd_elf,size_dynamic_sections) (bfd *output_bfd,
          all_defined = TRUE;
          for (t = verdefs; t != NULL; t = t->next)
            for (d = t->globals; d != NULL; d = d->next)
-             if (!d->symver && !d->script
-                 && strchr (d->pattern, '*') == NULL)
+             if (!d->symver && !d->script)
                {
                  (*_bfd_error_handler)
                    (_("%s: undefined version: %s"),