2005-04-01 H.J. Lu <hongjiu.lu@intel.com>

* elf.c (assign_section_numbers): Really use the kept section.
This commit is contained in:
H.J. Lu
2005-04-01 20:52:24 +00:00
parent d1779be45e
commit 2796fd96ba
2 changed files with 5 additions and 0 deletions

View 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.

View File

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