2005-04-01 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 1 Apr 2005 20:52:24 +0000 (20:52 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 1 Apr 2005 20:52:24 +0000 (20:52 +0000)
* elf.c (assign_section_numbers): Really use the kept section.

bfd/ChangeLog
bfd/elf.c

index 5a948c52499bcdb21387fe32a2e403ffb996f54f..2257ad1ac6ea813ddbe45d415fa8171921e65c64 100644 (file)
@@ -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.
index 3aa91a438c625fb53d8542a0a033ec47044048cd..34529090f5eb4dff7a24b7a5b1a3a62dd258f3b6 100644 (file)
--- 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);