* elflink.h (elf_bfd_final_link): Loop over input_bfds using the

link_next field, not the next field.
This commit is contained in:
Ian Lance Taylor 1998-06-24 21:18:25 +00:00
parent 9576a4d5a0
commit 146f8b771c
2 changed files with 12 additions and 1 deletions

View File

@ -1,3 +1,14 @@
Wed Jun 24 17:17:57 1998 Ian Lance Taylor <ian@cygnus.com>
* 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 <ian@cygnus.com>
* 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 <ian@cygnus.com>
* elf32-mips.c (mips_elf_size_dynamic_sections): Only strip a

View File

@ -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)
{