OSDN Git Service

PR ld/11304
authoramodra <amodra>
Mon, 22 Feb 2010 21:09:58 +0000 (21:09 +0000)
committeramodra <amodra>
Mon, 22 Feb 2010 21:09:58 +0000 (21:09 +0000)
commit0e0a44479014e12f5957345fe8f5dff635666ede
treed48f50ccd82d6b11bfed105559fa990c4218d765
parent2f9af36aaaae264583fb2817a227655b6f343fef
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