aboutsummaryrefslogtreecommitdiff
path: root/bfd
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
parent9da84788daafe295573bb29bb85616086abc0c2c (diff)
downloadbinutils-3e0e1ef196fd1de83ecae380419845336cdb3032.zip
binutils-3e0e1ef196fd1de83ecae380419845336cdb3032.tar.gz
binutils-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')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elflink.h3
2 files changed, 6 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 337c7c8..cd13555 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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
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"),