aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-10-24 14:55:14 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-10-24 14:55:14 +0000
commit5e35cbc224bd9b78e4547073ca92b1fd85ad9301 (patch)
tree16a5eea127a4bcbfa97821d1a3e802a38fcdd1ae /bfd
parent383b84283aeda5986ed67e66e2ca8788f8cff1f5 (diff)
downloadgdb-5e35cbc224bd9b78e4547073ca92b1fd85ad9301.zip
gdb-5e35cbc224bd9b78e4547073ca92b1fd85ad9301.tar.gz
gdb-5e35cbc224bd9b78e4547073ca92b1fd85ad9301.tar.bz2
bfd/
2003-10-24 H.J. Lu <hongjiu.lu@intel.com> * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Look up hash table for real symbols. include/ 2003-10-24 H.J. Lu <hongjiu.lu@intel.com> * bfdlink.h (bfd_elf_version_expr): Add "symbol" and remove "wildcard". ld/ 2003-10-24 H.J. Lu <hongjiu.lu@intel.com> * ldlang.c (lang_vers_match): Check "symbol" instead of "wildcard" and "pattern". Fix a typo. (lang_finalize_version_expr_head): Likewise. (lang_register_vers_node): Likewise. (realsymbol): New function. (lang_new_vers_pattern): Set "symbol" and remove "wildcard". * ldlex.l (V_IDENTIFIER): Allow '\\'.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elflink.h6
2 files changed, 7 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 926b2a1..2c7c4cc 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Look up
+ hash table for real symbols.
+
2003-10-23 Michael Snyder <msnyder@redhat.com>
* section.c (asection): Fix typo in comment.
diff --git a/bfd/elflink.h b/bfd/elflink.h
index e53911d..aa74573 100644
--- a/bfd/elflink.h
+++ b/bfd/elflink.h
@@ -2059,16 +2059,14 @@ NAME(bfd_elf,size_dynamic_sections) (bfd *output_bfd,
/* Make all global versions with definiton. */
for (t = verdefs; t != NULL; t = t->next)
for (d = t->globals.list; d != NULL; d = d->next)
- /* FIXME: Shouldn't this be !d->symver && d->wildcard == 0
- instead? */
- if (!d->symver && strchr (d->pattern, '*') == NULL)
+ if (!d->symver && d->symbol)
{
const char *verstr, *name;
size_t namelen, verlen, newlen;
char *newname, *p;
struct elf_link_hash_entry *newh;
- name = d->pattern;
+ name = d->symbol;
namelen = strlen (name);
verstr = t->name;
verlen = strlen (verstr);