diff options
author | H.J. Lu <hjl@lucon.org> | 2003-05-08 19:54:33 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2003-05-08 19:54:33 +0000 |
commit | d40e11b70907431d818ac2eb099075804b6ada7d (patch) | |
tree | 37af56a32a2093694877c00a64257f7473f2fe05 | |
parent | 985550fe171ef779fd70e6ffdd1d90662d0cc183 (diff) | |
download | gdb-d40e11b70907431d818ac2eb099075804b6ada7d.tar.gz |
2003-05-08 H.J. Lu <hongjiu.lu@intel.com>
* elflink.h (elf_add_default_symbol): After skipping the
unversioned symbol, go to non-default one.
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elflink.h | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 59aba2e29e9..6b1e021e2db 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2003-05-08 H.J. Lu <hongjiu.lu@intel.com> + + * elflink.h (elf_add_default_symbol): After skipping the + unversioned symbol, go to non-default one. + 2003-05-07 H.J. Lu <hongjiu.lu@intel.com> * elfxx-ia64.c (_bfd_elf_link_hash_hide_symbol): Also clear the diff --git a/bfd/elflink.h b/bfd/elflink.h index ade717dc74f..83fcff41768 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -1108,7 +1108,7 @@ elf_add_default_symbol (abfd, info, h, name, sym, psec, value, return FALSE; if (skip) - return TRUE; + goto nondefault; if (! override) { @@ -1203,6 +1203,7 @@ elf_add_default_symbol (abfd, info, h, name, sym, psec, value, /* We also need to define an indirection from the nondefault version of the symbol. */ +nondefault: len = strlen (name); shortname = bfd_hash_allocate (&info->hash->table, len); if (shortname == NULL) |