aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1998-06-24 21:18:25 +0000
committerIan Lance Taylor <ian@airs.com>1998-06-24 21:18:25 +0000
commit146f8b771cea5240c9ffaeda91377754313513d3 (patch)
tree86bd75c7481975ea004a3193afd17ceeeca86e32 /bfd
parent9576a4d5a06eed92dad1dd3af4d2708a15e268f7 (diff)
downloadgdb-146f8b771cea5240c9ffaeda91377754313513d3.zip
gdb-146f8b771cea5240c9ffaeda91377754313513d3.tar.gz
gdb-146f8b771cea5240c9ffaeda91377754313513d3.tar.bz2
* elflink.h (elf_bfd_final_link): Loop over input_bfds using the
link_next field, not the next field.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog11
-rw-r--r--bfd/elflink.h2
2 files changed, 12 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7bedf5b..75a71b6 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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
diff --git a/bfd/elflink.h b/bfd/elflink.h
index b5e0d03..d711281 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)
{