2001-02-06 H.J. Lu <hjl@gnu.org>
* elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Only hidden and internal symbols are not dynamic. * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise.
This commit is contained in:
parent
f042532cc4
commit
2719f88070
|
@ -1,3 +1,9 @@
|
||||||
|
2001-02-06 H.J. Lu <hjl@gnu.org>
|
||||||
|
|
||||||
|
* elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Only hidden and
|
||||||
|
internal symbols are not dynamic.
|
||||||
|
* elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise.
|
||||||
|
|
||||||
2001-02-06 Nick Clifton <nickc@redhat.com>
|
2001-02-06 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
* Makefile.am (BFD64_BACKENDS_CFILES): Remove elf64-ia64.c, so
|
* Makefile.am (BFD64_BACKENDS_CFILES): Remove elf64-ia64.c, so
|
||||||
|
|
|
@ -240,8 +240,12 @@ alpha_elf_dynamic_symbol_p (h, info)
|
||||||
|
|
||||||
if (h->dynindx == -1)
|
if (h->dynindx == -1)
|
||||||
return false;
|
return false;
|
||||||
if (ELF_ST_VISIBILITY (h->other) != STV_DEFAULT)
|
switch (ELF_ST_VISIBILITY (h->other))
|
||||||
return false;
|
{
|
||||||
|
case STV_INTERNAL:
|
||||||
|
case STV_HIDDEN:
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (h->root.type == bfd_link_hash_undefweak
|
if (h->root.type == bfd_link_hash_undefweak
|
||||||
|| h->root.type == bfd_link_hash_defweak)
|
|| h->root.type == bfd_link_hash_defweak)
|
||||||
|
|
|
@ -1181,8 +1181,12 @@ elfNN_ia64_dynamic_symbol_p (h, info)
|
||||||
|
|
||||||
if (h->dynindx == -1)
|
if (h->dynindx == -1)
|
||||||
return false;
|
return false;
|
||||||
if (ELF_ST_VISIBILITY (h->other) != STV_DEFAULT)
|
switch (ELF_ST_VISIBILITY (h->other))
|
||||||
return false;
|
{
|
||||||
|
case STV_INTERNAL:
|
||||||
|
case STV_HIDDEN:
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (h->root.type == bfd_link_hash_undefweak
|
if (h->root.type == bfd_link_hash_undefweak
|
||||||
|| h->root.type == bfd_link_hash_defweak)
|
|| h->root.type == bfd_link_hash_defweak)
|
||||||
|
|
Loading…
Reference in New Issue