aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-10-16 21:05:32 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-10-16 21:05:32 +0000
commit3e0e1ef196fd1de83ecae380419845336cdb3032 (patch)
tree2a2e2eb1f7487de28a7af281d121f6f905fe62ee /bfd/elflink.h
parent9da84788daafe295573bb29bb85616086abc0c2c (diff)
downloadgdb-3e0e1ef196fd1de83ecae380419845336cdb3032.zip
gdb-3e0e1ef196fd1de83ecae380419845336cdb3032.tar.gz
gdb-3e0e1ef196fd1de83ecae380419845336cdb3032.tar.bz2
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 71fdbaa..383cb88 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"),