From 3e0e1ef196fd1de83ecae380419845336cdb3032 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" 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 337c7c8c7a5..cd135557cf0 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +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 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"), -- 2.30.2