aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-06-23 00:36:00 +0000
committerIan Lance Taylor <ian@airs.com>1994-06-23 00:36:00 +0000
commitcf4245afad703696b6f5f7240a62355e6e510738 (patch)
tree32e693e86a9d53a81530d953515c1eb4db2517b0 /gas
parent2e66a62730944dd7826bfb7d065257c9cc339d8c (diff)
downloadgdb-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 'gas')
0 files changed, 0 insertions, 0 deletions