aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.h
AgeCommit message (Collapse)AuthorFilesLines
1996-08-01 * ld.h (check_nocrossrefs): Declare.Ian Lance Taylor1-6/+34
* 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-02-27 * lexsup.c (parse_args): Recognize --no-whole-archive.Ian Lance Taylor1-4/+42
* ldlang.h (lang_input_statement_type): Add whole_archive field. * ldlang.c (new_afile): Set whole_archive field. (load_symbols): Check input file specific whole_archive field rather than global variable. * ld.texinfo, ld.1: Document --no-whole-archive. PR 9094.
1995-07-07fsf address update, but not in COPYING filesKen Raeburn1-6/+33
1994-06-01 * ldlang.h (lang_input_statement_type): Remove fields subfiles,Ian Lance Taylor1-14/+0
total_size, superfile and chain. * ldfile.c (open_a): Don't clear search_dirs_flag. (ldfile_open_file): Don't try to open superfile. Assert that file has not already been opened. * ldlang.c (new_afile): Don't initialize superfile. * ldmain.c (add_archive_element): Don't initialize subfiles or chain or superfile. Initialize search_dirs_flag to false.
1994-05-27 * ldlang.c (entry_symbol): Make static.Ian Lance Taylor1-33/+41
(lang_add_entry): Add cmdline argument. * ldlang.h (lang_add_entry): Change prototype. * ldgram.y (statement_anywhere): Change lang_add_entry call. * lexsup.c (parse_args): Likewise.
1994-01-24 * ldlang.c (relaxing): Removed global variable.Ian Lance Taylor1-8/+4
(lang_size_sections): If the canonical symbols have not already been read in, read them in before relaxing. * ldlang.h (relaxing): Removed declaration.
1993-12-11 Made many changes to eliminate gcc warnings. Made variousIan Lance Taylor1-201/+237
cosmetic changes, declared various things in header files, removed various extern declarations from .c files. No substantive changes.
1992-05-04 * ldver.c: Bumped version to 1.96 - new release, resync with theSteve Chamberlain1-0/+3
bfd too #. * ldexp.c, ldlang.c: now build memory shape tree in obstacks rather than with raw malloc, makes it easier to track where memory is going. * ldsym.h, ldsym.c: create obstack for all global symbols too. * ldwrite.c (ldwrite): moved malloc so only used when needed. * sa29200-sc.sh: added support for .lit, data1 and data2 sections.
1992-04-16Lint found by Rich and gccSteve Chamberlain1-3/+8
1992-01-24Merging from VMS port. Doc to follow..Steve Chamberlain1-125/+117
1991-05-03*** empty log message ***Steve Chamberlain1-1/+1
1991-04-23*** empty log message ***Steve Chamberlain1-1/+1
1991-04-14checkpoint before a mergeSteve Chamberlain1-42/+39
1991-03-21Initial revisionDavid Henkel-Wallace1-0/+347