summaryrefslogtreecommitdiff
path: root/ld/ldlang.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2006-06-20 16:37:29 +0000
committerAlan Modra <amodra@bigpond.net.au>2006-06-20 16:37:29 +0000
commit6006f7a3492742537eae5f9c5552a302213ff887 (patch)
tree724586fec4c922a7d963f6b1130f6efe81037d5a /ld/ldlang.h
parentca72342916da6d50527a3408e8c17f8320431409 (diff)
downloadbinutils-redhat-6006f7a3492742537eae5f9c5552a302213ff887.tar.gz
* emultempl/elf-generic.em (gld${EMULATION_NAME}_map_segments): Limit
loop to ten iterations. Throw away any previous linker generated segment map. * ldlang.c (lang_phdr_list): Make global. * ldlang.h (lang_phdr_list): Declare. * Makefile.am (ELF_GEN_DEPS): Define. Use in emul deps. * Makefile.in: Regenerate.
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 1cf0e7ca72..2d31357be5 100644
--- a/ld/ldlang.h
+++ b/ld/ldlang.h
@@ -381,6 +381,8 @@ struct lang_phdr
etree_type *flags;
};
+extern struct lang_phdr *lang_phdr_list;
+
/* This structure is used to hold a list of sections which may not
cross reference each other. */