From cf4245afad703696b6f5f7240a62355e6e510738 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 23 Jun 1994 00:36:00 +0000 Subject: * lexsup.c (parse_args): Add support for new options -( -) with synonyms --start-group --end-group. * ldlang.h (enum statement_enum): Add lang_group_statement_enum. (lang_group_statement_type): Define new struct. (lang_statement_union_type): Add group_statement field. (lang_enter_group, lang_leave_group): Declare. * ldlang.c (lang_for_each_statement_worker): Handle lang_group_statement_enum. (map_input_to_output_sections, print_statement): Likewise. (lang_size_sections, lang_do_assignments): Likewise. (open_input_bfds): Completely rewrite. Now does its own looping, rather than using lang_for_each_statement. Handle groups. (lang_process): Update call to open_input_bfds. (print_group): New static function. (lang_enter_group, lang_leave_group): New static functions. * ldfile.c (ldfile_open_file): If the file has already been opened, just return rather than taking an assertion failure. * ldver.c (help): Mention new options. * ld.texinfo: Document new options. --- ld/ChangeLog | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'ld/ChangeLog') diff --git a/ld/ChangeLog b/ld/ChangeLog index 58ab62e..fa38aa2 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,5 +1,25 @@ Wed Jun 22 13:42:14 1994 Ian Lance Taylor (ian@sanguine.cygnus.com) + * lexsup.c (parse_args): Add support for new options -( -) with + synonyms --start-group --end-group. + * ldlang.h (enum statement_enum): Add lang_group_statement_enum. + (lang_group_statement_type): Define new struct. + (lang_statement_union_type): Add group_statement field. + (lang_enter_group, lang_leave_group): Declare. + * ldlang.c (lang_for_each_statement_worker): Handle + lang_group_statement_enum. + (map_input_to_output_sections, print_statement): Likewise. + (lang_size_sections, lang_do_assignments): Likewise. + (open_input_bfds): Completely rewrite. Now does its own looping, + rather than using lang_for_each_statement. Handle groups. + (lang_process): Update call to open_input_bfds. + (print_group): New static function. + (lang_enter_group, lang_leave_group): New static functions. + * ldfile.c (ldfile_open_file): If the file has already been + opened, just return rather than taking an assertion failure. + * ldver.c (help): Mention new options. + * ld.texinfo: Document new options. + * ldlang.c (end_of_data_section_statement_list): Don't define. (lang_leave_output_section_statement): Don't set obsolete variable end_of_data_section_statement_list. -- cgit v1.1