* elflink.h (elf_bfd_final_link): Assert that section reloc_count
authorIan Lance Taylor <ian@airs.com>
Wed, 7 Jul 1999 11:39:43 +0000 (11:39 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 7 Jul 1999 11:39:43 +0000 (11:39 +0000)
commit0525d26ec38fe65528bca91b4a3c1c34c198d690
tree828cfe8937edc90b0352e6da597adc508b5272fe
parentcac58fa6efdb5e3fd4b19c40a5378516155ad8ff
* elflink.h (elf_bfd_final_link): Assert that section reloc_count
field equals the new rel_count field.
(elf_link_input_bfd): When doing a relocateable link, use the new
rel_count field rather than the reloc_count field.
(elf_reloc_link_order): Likewise.
(elf_finish_pointer_linker_section): Likewise.
Based on patch from H.J. Lu <hjl@gnu.org>:
* elflink.h (elf_merge_symbol): Permit a non-weak definition in a
shared library to override a weak definition in a regular object.
bfd/ChangeLog
bfd/elflink.h