PR ld/11304
authorAlan Modra <amodra@gmail.com>
Mon, 22 Feb 2010 12:09:59 +0000 (12:09 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 22 Feb 2010 12:09:59 +0000 (12:09 +0000)
commitc380a809dea581f548281e813edfc5b6e5007708
treeb83e6ed43b0f0a552da80868291b0279fc1463e9
parent8a59fff3dd9f8003c95d89ee2a71d632b130cf8b
PR ld/11304
* ldlang.c (exp_init_os): Delete forward declaration.
(init_os): Don't check for bfd_section already created and don't
init addr_tree and load_base expressions here.
(map_input_to_output_sections): Only map input to output sections
and set constraints here, and as an exception, create output
sections which have their address set.  Move all the other code to..
(create_other_output_sections): ..here.  New function.  Handle init
of addr_tree and load_base here too.
(lang_process): Call create_other_output_sections.
ld/ChangeLog
ld/ldlang.c