From 73499ab8416b2df2f1cc36de76bb217b4c1cc5bd Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 1 May 2004 14:20:26 +0000 Subject: * section.c (bfd_make_section_anyway): Copy the whole bfd_hash_entry, not just "next" from existing entry. --- bfd/section.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bfd/section.c') diff --git a/bfd/section.c b/bfd/section.c index 0236f08..58508a2 100644 --- a/bfd/section.c +++ b/bfd/section.c @@ -955,7 +955,7 @@ bfd_make_section_anyway (bfd *abfd, const char *name) if (new_sh == NULL) return NULL; - new_sh->root.next = sh->root.next; + new_sh->root = sh->root; sh->root.next = &new_sh->root; newsect = &new_sh->section; } -- cgit v1.1