aboutsummaryrefslogtreecommitdiff
path: root/ld/ldcref.c
AgeCommit message (Collapse)AuthorFilesLines
1996-08-05 * ldcref.c (check_nocrossref): Skip symbols with no outputIan Lance Taylor1-0/+2
sections.
1996-08-01 * ld.h (check_nocrossrefs): Declare.Ian Lance Taylor1-1/+219
* ldlang.h (struct lang_nocrossref): Define. (struct lang_nocrossrefs): Define. (nocrossref_list): Declare. (lang_add_nocrossref): Declare. * ldlex.l: Recognize NOCROSSREFS keyword. * ldgram.y (%union): Add nocrossref field. (NOCROSSREFS): New terminal. (ifile_p1): Recognize NOCROSSREFS. (nocrossref_list): New nonterminal. * ldlang.c (nocrossref_list): Define. (lang_add_nocrossref): New function. * ldmain.c (main): If nocrossref_list is not NULL, call check_nocrossrefs. (warning_callback): Free symbols if there is no place to store them. (notice): Call add_cref if nocrossref_list is not NULL. * ldcref.c: Include "ldexp.h" and "ldlang.h". (check_nocrossrefs): New function. (check_nocrossref): New static function. (struct check_refs_info): Define. (check_refs, check_reloc_refs): New static functions. * Makefile.in: Rebuild dependencies. * ld.texinfo (Option Commands): Document NOCROSSREFS.
1996-07-30 * ldcref.c (output_one_cref): Don't crash if a symbol is definedIan Lance Taylor1-0/+327
in a section without an owner.