* elf-bfd.h (_bfd_elf_define_linkage_sym): Declare.
commit6f09563afcfba46c790150b303ff7c16e2a3d676
authorAlan Modra <amodra@bigpond.net.au>
Mon, 15 Aug 2005 15:39:08 +0000 (15 15:39 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Mon, 15 Aug 2005 15:39:08 +0000 (15 15:39 +0000)
tree96e2eb824c9ba8f3f366979581ee28c24d14ef8f
parentf5cc34b7726f2222a3ad993f8023a63d21f933d1
* elf-bfd.h (_bfd_elf_define_linkage_sym): Declare.
* elflink.c (_bfd_elf_define_linkage_sym): New function, extracted
from..
(_bfd_elf_create_got_section): ..here.
(_bfd_elf_link_create_dynamic_sections): Call it for _DYNAMIC.
(_bfd_elf_create_dynamic_sections): ..and _PROCEDURE_LINKAGE_TABLE_.
* elf-m10300.c (_bfd_mn10300_elf_create_got_section): Use
_bfd_elf_define_linkage_sym.
* elf32-frv.c (_frv_create_got_section): Likewise.
* elf64-alpha.c (elf64_alpha_create_dynamic_sections): Likewise.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf-m10300.c
bfd/elf32-frv.c
bfd/elf64-alpha.c
bfd/elflink.c