* elf-bfd.h (_bfd_elf32_link_record_local_dynamic_symbol): Define
authorAlan Modra <amodra@gmail.com>
Thu, 25 Jul 2002 06:54:51 +0000 (06:54 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 25 Jul 2002 06:54:51 +0000 (06:54 +0000)
commit8c58d23b6d454082b0e55ccb2a948397ab4b58c8
tree6875b3e59ffda2ae412d37c033acf16dcf9bfbac
parent8c554d79d1d9d2ee28545381da20e7a88133266e
* elf-bfd.h (_bfd_elf32_link_record_local_dynamic_symbol): Define
as elf_link_record_local_dynamic_symbol.
(_bfd_elf64_link_record_local_dynamic_symbol): Likewise.
(elf_link_record_local_dynamic_symbol): Declare.  Now returns int.
* elflink.h (elf_link_record_local_dynamic_symbol): Move to..
* elflink.c: .. here.  Use bfd_elf_get_elf_syms.  Check whether an
attempt is made to record a symbol in a discarded section, and
return `2' in that case.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elflink.c
bfd/elflink.h