diff options
author | Richard Henderson <rth@redhat.com> | 1998-07-02 02:52:31 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 1998-07-02 02:52:31 +0000 |
commit | 71b012a810fd03d0aa05cd6d0fc874abdafdfc61 (patch) | |
tree | 9e7f3f420f28a3b345bc89fffde1b161c9a2df56 /ld/ChangeLog | |
parent | 5ea0771f4ca8d8c43f3379dc70e4071325e7d68c (diff) | |
download | gdb-71b012a810fd03d0aa05cd6d0fc874abdafdfc61.zip gdb-71b012a810fd03d0aa05cd6d0fc874abdafdfc61.tar.gz gdb-71b012a810fd03d0aa05cd6d0fc874abdafdfc61.tar.bz2 |
* ld.h (args_type): Add gc_sections.
* ldgram.y (ldgram_had_keep, KEEP): New.
(input_section_spec_no_keep): Rename from old input_section_spec.
(input_section_spec): New. Recognize KEEP.
* ldlang.c (wild_section): Handle keep sections.
(lang_gc_wild_section, lang_gc_wild_file, lang_gc_wild): New.
(lang_gc_sections_1, lang_gc_sections): New.
(lang_process): Invoke lang_gc_sections.
(lang_add_wild): Add keep argument. Update all callers.
* ldlang.h (lang_wild_statement_struct): Add keep_sections.
* ldlex.l (KEEP): Match it.
* ldmain.c (main): Error on -r and --gc-sections.
* lexsup.c: Add --gc-sections.
* scripttempl/elf.sc: Merge .text.* etc sections appropriately.
Mark startup sections with KEEP.
* scripttempl/elfppc.sc: Likewise.
* ld.texinfo: Update for --gc-sections and KEEP.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 886c74e..dea26e1 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,30 @@ +Wed Jul 1 19:40:34 1998 Richard Henderson <rth@cygnus.com> + + * ld.h (args_type): Add gc_sections. + * ldgram.y (ldgram_had_keep, KEEP): New. + (input_section_spec_no_keep): Rename from old input_section_spec. + (input_section_spec): New. Recognize KEEP. + * ldlang.c (wild_section): Handle keep sections. + (lang_gc_wild_section, lang_gc_wild_file, lang_gc_wild): New. + (lang_gc_sections_1, lang_gc_sections): New. + (lang_process): Invoke lang_gc_sections. + (lang_add_wild): Add keep argument. Update all callers. + * ldlang.h (lang_wild_statement_struct): Add keep_sections. + * ldlex.l (KEEP): Match it. + * ldmain.c (main): Error on -r and --gc-sections. + * lexsup.c: Add --gc-sections. + + * scripttempl/elf.sc: Merge .text.* etc sections appropriately. + Mark startup sections with KEEP. + * scripttempl/elfppc.sc: Likewise. + + * ld.texinfo: Update for --gc-sections and KEEP. + +Wed Jul 1 15:21:20 1998 Ian Lance Taylor <ian@cygnus.com> + + From Peter Jordan <pjordan@chla.usc.edu>: + * scripttempl/i386go32.sc: Correct constructor handling for -u. + Tue Jun 23 15:17:27 1998 Ian Lance Taylor <ian@cygnus.com> * Makefile.am (install-data-local): Make ldscripts subdirectory. |