From 146f8b771cea5240c9ffaeda91377754313513d3 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 24 Jun 1998 21:18:25 +0000 Subject: [PATCH] * elflink.h (elf_bfd_final_link): Loop over input_bfds using the link_next field, not the next field. --- bfd/ChangeLog | 11 +++++++++++ bfd/elflink.h | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7bedf5b9990..75a71b60246 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,14 @@ +Wed Jun 24 17:17:57 1998 Ian Lance Taylor + + * elflink.h (elf_bfd_final_link): Loop over input_bfds using the + link_next field, not the next field. + +Sun Jun 21 19:38:39 1998 Ian Lance Taylor + + * elf.c (map_sections_to_segments): Check the section address + against the phdr size both with and without a modulo of + maxpagesize. + Fri Jun 19 17:08:18 1998 Ian Lance Taylor * elf32-mips.c (mips_elf_size_dynamic_sections): Only strip a diff --git a/bfd/elflink.h b/bfd/elflink.h index b5e0d0357bd..d7112812f97 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -3723,7 +3723,7 @@ elf_bfd_final_link (abfd, info) we could write the relocs out and then read them again; I don't know how bad the memory loss will be. */ - for (sub = info->input_bfds; sub != NULL; sub = sub->next) + for (sub = info->input_bfds; sub != NULL; sub = sub->link_next) sub->output_has_begun = false; for (o = abfd->sections; o != NULL; o = o->next) { -- 2.30.2