OSDN Git Service

2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl>
Thu, 16 Oct 2003 21:05:32 +0000 (21:05 +0000)
committerhjl <hjl>
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 337c7c8..cd13555 100644 (file)
@@ -1,5 +1,10 @@
 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
        use the last CIE from a different section.
        (_bfd_elf_write_section_eh_frame): Don't pad beyond the raw
index 71fdbaa..383cb88 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"),