aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2010-09-10 01:23:12 +0000
committerAlan Modra <amodra@gmail.com>2010-09-10 01:23:12 +0000
commit8658f98909b170695a9ef5d785ababc95c500118 (patch)
treec4efaa418219974aedb6b96dd55dba0a7579b179 /ld/ldlang.h
parentd3615e3a49afae80de3c47f213ac87114706f0ea (diff)
downloadgdb-8658f98909b170695a9ef5d785ababc95c500118.zip
gdb-8658f98909b170695a9ef5d785ababc95c500118.tar.gz
gdb-8658f98909b170695a9ef5d785ababc95c500118.tar.bz2
PR ld/11931
* ldlang.h (lang_for_each_statement_worker): Declare. * ldlang.c (lang_for_each_statement_worker): Make global. Don't recurse into children of output_section_statement with constraint set to -1. (print_assignment): Handle NULL output_section->bfd_section. (lang_size_sections_1): Ignore output section statement address when constraint is -1. * emultempl/xtensaelf.em (lang_for_each_statement_worker): Delete.
Diffstat (limited to 'ld/ldlang.h')
-rw-r--r--ld/ldlang.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/ldlang.h b/ld/ldlang.h
index 58d03f0..e9bcacf 100644
--- a/ld/ldlang.h
+++ b/ld/ldlang.h
@@ -580,6 +580,8 @@ extern void lang_add_reloc
union etree_union *);
extern void lang_for_each_statement
(void (*) (lang_statement_union_type *));
+extern void lang_for_each_statement_worker
+ (void (*) (lang_statement_union_type *), lang_statement_union_type *);
extern void *stat_alloc
(size_t);
extern void strip_excluded_output_sections