* ldcref.c (check_section_sym_xref): New function.
commit7701e24e213be54a4af053e6a4c9f9cf63e01157
authorAlan Modra <amodra@bigpond.net.au>
Mon, 23 Jul 2001 07:54:04 +0000 (23 07:54 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Mon, 23 Jul 2001 07:54:04 +0000 (23 07:54 +0000)
tree059d9449579587575ccb5ff23e1a3be93821f838
parent602418e4f25522576dcd4388ccd5bdd8d8642881
* ldcref.c (check_section_sym_xref): New function.
(check_nocrossrefs): Call it.
(check_nocrossref): Interate over h->refs here instead of..
(check_refs): ..here.  Pass in the symbol name, section, and bfd
rather than hash_entry pointers.
(struct check_refs_info): Keep symbol name rather than hash entry.
Remove "same".
(check_reloc_refs): Tweak for above changes in check_refs_info.
Only report references to section syms when symname is NULL to
prevent duplicate messages for the same reloc.
ld/ChangeLog
ld/ldcref.c