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 /binutils/aclocal.m4 | |
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 'binutils/aclocal.m4')
0 files changed, 0 insertions, 0 deletions