* ldctor.c (ldctor_build_sets): Handle bfd_link_hah_defweak.

* ldexp.c (fold_name): Likewise.
	* ldlang.c (print_one_symbol): Likewise.
	(lang_finish): Likewise.
	* ldmain.c (multiple_common): Likewise.
	* ldwrite.c (print_symbol): Likewise.  Also, bfd_link_hash_weak
	renamed to bfd_link_hash_undefweak.
This commit is contained in:
Ian Lance Taylor
1995-02-06 20:01:38 +00:00
parent 6c97aedf26
commit 8ed88239b4
3 changed files with 38 additions and 11 deletions

View File

@ -1280,7 +1280,8 @@ PTR ptr;
{
asection * sec = (asection *)ptr;
if (hash_entry->type == bfd_link_hash_defined)
if (hash_entry->type == bfd_link_hash_defined
|| hash_entry->type == bfd_link_hash_defweak)
{
if (sec == hash_entry->u.def.section) {
print_section ("");
@ -2149,7 +2150,8 @@ lang_finish ()
h = bfd_link_hash_lookup (link_info.hash, entry_symbol, false, false, true);
if (h != (struct bfd_link_hash_entry *) NULL
&& h->type == bfd_link_hash_defined)
&& (h->type == bfd_link_hash_defined
|| h->type == bfd_link_hash_defweak))
{
bfd_vma val;