ELF linker patches from Eric Youngdale <ericy@cais.cais.com>.
authorJean Marie Diaz <ambar@cygnus>
Mon, 1 Aug 1994 23:11:18 +0000 (23:11 +0000)
committerJean Marie Diaz <ambar@cygnus>
Mon, 1 Aug 1994 23:11:18 +0000 (23:11 +0000)
commit99dd775492859223d3d1981684d9b81646a8440f
tree64813eba8a8f2a764d5d0ef5316803b7e4cb3bda
parentdbae6b7d3aa4adbd1a7982f7d7e283b576274ef9
ELF linker patches from Eric Youngdale <ericy@cais.cais.com>.
* elfcode.h (elf_link_create_dynamic_sections): Set type of
_DYNAMIC to STT_OBJECT.
(NAME(bfd_elf,record_link_assignment)): Always create hash table
entry.  Set type to STT_OBJECT.
(elf_link_output_extsym): Don't set type of weak defined symbol to
STB_WEAK if symbol was referenced.
* elf32-i386.c (elf_i386_create_dynamic_sections): Set type of
_GLOBAL_OFFSET_TABLE to STT_OBJECT.
(elf_i386_check_relocs): Ignore local PLT32 relocs.
(elf_i386_relocate_section): Treat local PLT32 relocs as PC32.
bfd/ChangeLog
bfd/elfcode.h