2005-03-31 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 1 Apr 2005 03:49:46 +0000 (03:49 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 1 Apr 2005 03:49:46 +0000 (03:49 +0000)
commit01b3c8abd1990d27f28e2b90d118fd259993d895
tree1fdb1b1b7cb48e5570d1e70f3ccc44231bbd1540
parent35090471860b6c110a9090aba7ff901ec019de2b
2005-03-31  H.J. Lu  <hongjiu.lu@intel.com>

* elf-bfd.h (_bfd_elf_check_kept_section): New.

* elf.c (assign_section_numbers): When sh_link points to a
discarded section, call _bfd_elf_check_kept_section to see if
the kept section can be used. Otherwise reject sh_link
pointing to discarded section.

* elflink.c (_bfd_elf_check_kept_section): New.
(elf_link_input_bfd): Use it.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf.c
bfd/elflink.c
This page took 0.030428 seconds and 4 git commands to generate.