Don't create unnecessary output sections.
authorIan Lance Taylor <ian@airs.com>
Wed, 11 May 1994 20:29:21 +0000 (20:29 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 11 May 1994 20:29:21 +0000 (20:29 +0000)
commitf9d3d71ae87f7fd6863696306e2cd08f5f6e4c74
treeff35b0c3da2d648e22a24b6439b57d6af49aca66
parent4fa4476bf86ec660c4a7c279e91d7df7f7ec24f3
Don't create unnecessary output sections.
* ldlang.c (out_bfd_get_section_by_name): Remove.
(wild_section): Call bfd_get_section_by_name rather than
our_bfd_get_section_by_name.  Don't call wild_doit if there is no
section.
(lang_create_output_section_statements): Remove.
(map_input_to_output_sections): For several cases, call init_os if
it has not already been called.
(lang_size_sections): If output section was not created, skip it.
(lang_process): Don't call lan_create_output_section_statements.
(lang_place_orphans): Skip files with just_syms_flags set to true.
* ld.texinfo: Document change.
ld/ChangeLog
ld/ld.texinfo
ld/ldlang.c