of the dynamic list rather than just the first entry.
+2006-10-11 Jakub Jelinek <jakub@redhat.com>
+
+ * ldlang.c (lang_append_dynamic_list): When appending, add all elements
+ of the dynamic list rather than just the first entry.
+
2006-10-10 Bob Wilson <bob.wilson@acm.org>
* emulparams/elf32xtensa.sh (GENERATE_PIE_SCRIPT): Enable.
{
if (link_info.dynamic)
{
- dynamic->next = link_info.dynamic->head.list;
+ struct bfd_elf_version_expr *tail;
+ for (tail = dynamic; tail->next != NULL; tail = tail->next)
+ ;
+ tail->next = link_info.dynamic->head.list;
link_info.dynamic->head.list = dynamic;
}
else