* ldlang.h (lang_output_section_statement_type): Add prev.
authorAlan Modra <amodra@gmail.com>
Wed, 16 Nov 2005 08:32:54 +0000 (08:32 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 16 Nov 2005 08:32:54 +0000 (08:32 +0000)
commitbd4d42c17411128324b921c2648e8b3d4f97df2c
tree57aeb3fa1a44ca323ec40b9abfbde1c448164293
parent7815f84885ca14122f500112c406bbbeadf24988
* 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