aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2006-06-20 16:37:29 +0000
committerAlan Modra <amodra@gmail.com>2006-06-20 16:37:29 +0000
commitf5ff60a6dbea1734faee327a99825461b10f2ae6 (patch)
tree73824b0702633b20adea1f5ba4cf8c87d266d6c7 /ld/ldlang.h
parent6a4a0940e56e3f60f38b2b49991efc0969bc206a (diff)
downloadbinutils-f5ff60a6dbea1734faee327a99825461b10f2ae6.zip
binutils-f5ff60a6dbea1734faee327a99825461b10f2ae6.tar.gz
binutils-f5ff60a6dbea1734faee327a99825461b10f2ae6.tar.bz2
* 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 1cf0e7c..2d31357 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. */