summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2005-04-01 20:52:24 +0000
committerH.J. Lu <hjl@lucon.org>2005-04-01 20:52:24 +0000
commit854707d30978e7d74e6e569b7d2718dd79c9447e (patch)
tree5ae6f2383e119e08f9a962880669cb6d41aa04e7
parent96f4492ef95887606b94e0519c23f72e7e4821e7 (diff)
downloadgdb-854707d30978e7d74e6e569b7d2718dd79c9447e.tar.gz
2005-04-01 H.J. Lu <hongjiu.lu@intel.com>
* elf.c (assign_section_numbers): Really use the kept section.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf.c1
2 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 5a948c52499..2257ad1ac6e 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-01 H.J. Lu <hongjiu.lu@intel.com>
+
+ * elf.c (assign_section_numbers): Really use the kept section.
+
2005-03-31 H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (_bfd_elf_check_kept_section): New.
diff --git a/bfd/elf.c b/bfd/elf.c
index 3aa91a438c6..34529090f5e 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -2936,6 +2936,7 @@ assign_section_numbers (bfd *abfd)
bfd_set_error (bfd_error_bad_value);
return FALSE;
}
+ s = kept;
}
s = s->output_section;
BFD_ASSERT (s != NULL);