* 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.
This commit is contained in:
parent
7815f84885
commit
bd4d42c174
3 changed files with 31 additions and 25 deletions
|
@ -130,6 +130,7 @@ typedef struct lang_output_section_statement_struct
|
|||
lang_statement_header_type header;
|
||||
lang_statement_list_type children;
|
||||
struct lang_output_section_statement_struct *next;
|
||||
struct lang_output_section_statement_struct *prev;
|
||||
const char *name;
|
||||
asection *bfd_section;
|
||||
lang_memory_region_type *region;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue