From 6a673b99c63a9c8127db04895cf56c27fe39b1c9 Mon Sep 17 00:00:00 2001 From: hjl Date: Thu, 16 Oct 2003 21:05:32 +0000 Subject: [PATCH] 2003-10-16 H.J. Lu * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also warn undefined patterns with '*'. --- bfd/ChangeLog | 5 +++++ bfd/elflink.h | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 337c7c8c7a..cd135557cf 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 2003-10-16 H.J. Lu + * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Also warn + undefined patterns with '*'. + +2003-10-16 H.J. Lu + * 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 71fdbaa303..383cb88b06 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"), -- 2.11.0