summaryrefslogtreecommitdiff
path: root/bfd/elflink.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2003-10-16 21:05:32 +0000
committerH.J. Lu <hjl@lucon.org>2003-10-16 21:05:32 +0000
commitd84e0a6a384735e212eb10919078f4217258d318 (patch)
treea1cd4f19927b27043834975153be7c0dd15b5390 /bfd/elflink.h
parent83b906b7d32f8a81b99341f562a6a5491f88fd19 (diff)
downloadgdb-d84e0a6a384735e212eb10919078f4217258d318.tar.gz
2003-10-16 H.J. Lu <hongjiu.lu@intel.com>
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also warn undefined patterns with '*'.
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r--bfd/elflink.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h
index 71fdbaa3030..383cb88b068 100644
--- a/bfd/elflink.h
+++ b/bfd/elflink.h
@@ -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"),