diff options
author | H.J. Lu <hjl@lucon.org> | 2003-10-16 21:05:32 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2003-10-16 21:05:32 +0000 |
commit | d84e0a6a384735e212eb10919078f4217258d318 (patch) | |
tree | a1cd4f19927b27043834975153be7c0dd15b5390 /bfd | |
parent | 83b906b7d32f8a81b99341f562a6a5491f88fd19 (diff) | |
download | gdb-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')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elflink.h | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 337c7c8c7a5..cd135557cf0 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 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"), |