aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-11-16 08:32:54 +0000
committerAlan Modra <amodra@gmail.com>2005-11-16 08:32:54 +0000
commitbd4d42c17411128324b921c2648e8b3d4f97df2c (patch)
tree57aeb3fa1a44ca323ec40b9abfbde1c448164293 /ld/ldlang.h
parent7815f84885ca14122f500112c406bbbeadf24988 (diff)
downloadgdb-bd4d42c17411128324b921c2648e8b3d4f97df2c.zip
gdb-bd4d42c17411128324b921c2648e8b3d4f97df2c.tar.gz
gdb-bd4d42c17411128324b921c2648e8b3d4f97df2c.tar.bz2
* 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.
Diffstat (limited to 'ld/ldlang.h')
-rw-r--r--ld/ldlang.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h
index 12523a4..454a87c 100644
--- a/ld/ldlang.h
+++ b/ld/ldlang.h
@@ -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;