diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-06-23 00:36:00 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-06-23 00:36:00 +0000 |
commit | cf4245afad703696b6f5f7240a62355e6e510738 (patch) | |
tree | 32e693e86a9d53a81530d953515c1eb4db2517b0 /ld/ChangeLog | |
parent | 2e66a62730944dd7826bfb7d065257c9cc339d8c (diff) | |
download | gdb-cf4245afad703696b6f5f7240a62355e6e510738.zip gdb-cf4245afad703696b6f5f7240a62355e6e510738.tar.gz gdb-cf4245afad703696b6f5f7240a62355e6e510738.tar.bz2 |
* 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.
Diffstat (limited to 'ld/ChangeLog')
-rw-r--r-- | ld/ChangeLog | 20 |
1 files changed, 20 insertions, 0 deletions
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. |