OSDN Git Service

* ldlang.h (lang_output_section_statement_type): Add prev.
authorAlan Modra <amodra@bigpond.net.au>
Wed, 16 Nov 2005 08:32:54 +0000 (08:32 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Wed, 16 Nov 2005 08:32:54 +0000 (08:32 +0000)
commit559e04feec7d869fd6adda5cd36b1687ef926226
tree7cbef32155c735b6205f7e7e12fb0f29333afcf4
parent77dde73471ad0dd9fd71a42d58743e2f68817c18
* ldlang.h (lang_output_section_statement_type): Add prev.
* ldlang.c (new_afile): Always init header.type.
(output_statement_newfunc): Set os.prev.
(output_prev_sec_find): Use os.prev.
(lang_enter_output_section_statement): Formatting.
(lang_final, lang_add_target, lang_add_fill): Likewise.
(lang_add_data, lang_add_reloc): Likewise.
(lang_add_attribute): Only alloc the header.
ld/ChangeLog
ld/ldlang.c
ld/ldlang.h