* ldcref.c (check_section_sym_xref): New function.
authorAlan Modra <amodra@gmail.com>
Mon, 23 Jul 2001 07:54:04 +0000 (07:54 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 23 Jul 2001 07:54:04 +0000 (07:54 +0000)
commite14ec88b398812082dc77c068047f1ade5dca629
treebe414f8f7195e509d77f75667e0daf13b753020b
parent2e7a08de775b355e9c9cfbca68fc474ef3588f90
* 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