aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-12-24 07:48:30 +0000
committerAlan Modra <amodra@gmail.com>2005-12-24 07:48:30 +0000
commit218868ba41c7305c13c7b4c7e781cabeb11dce62 (patch)
tree148725757508f4e7ea6da7c9d9f13e51de1fae4c /ld/ldlang.h
parent3555e8e589e1fe0ddfaf668d31ea2bb8828dfee5 (diff)
downloadgdb-218868ba41c7305c13c7b4c7e781cabeb11dce62.zip
gdb-218868ba41c7305c13c7b4c7e781cabeb11dce62.tar.gz
gdb-218868ba41c7305c13c7b4c7e781cabeb11dce62.tar.bz2
* ldlang.h (lang_output_section_statement_type): Add prev.
* ldlang.c (output_statement_newfunc): Set os.prev. (lang_insert_orphan): Likewise. (output_prev_sec_find): Use os.prev.
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 381bb04..cf5b01f 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;