* elf-bfd.h (struct got_entry, struct plt_entry): Forward declare.
commit3ce3c3086a3e6f1399d6cee3bdca11d91dc14012
authorAlan Modra <amodra@bigpond.net.au>
Tue, 4 Feb 2003 12:49:57 +0000 (4 12:49 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Tue, 4 Feb 2003 12:49:57 +0000 (4 12:49 +0000)
treeaa0c91591122ddd4bdb33ff3bc770833eef0cfac
parent68008f32b95e81c57d5718dc18823fb2cc31ef4b
* elf-bfd.h (struct got_entry, struct plt_entry): Forward declare.
(struct elf_link_hash_entry): Add "glist" and "plist" fields to
"got" union, and declare as gotplt_union.  Use gotplt_uinion for
"plt" field.
(struct elf_link_hash_table): Make "init_refcount" a gotplt_union.
Add "init_offset" field.
(struct elf_obj_tdata <local_got>): Add "struct got_entry **" to union.
(elf_local_got_ents): Declare.
* elf.c (_bfd_elf_link_hash_newfunc): Adjust initialization of "got"
and "plt".
(_bfd_elf_link_hash_hide_symbol): Use "init_offset".
(_bfd_elf_link_hash_table_init): Set "init_offset".
* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Set init_refcount
from init_offset.
(elf_adjust_dynamic_symbol): Set plt and got offsets using init_offset.

* elf.c (bfd_elf_local_sym_name): Split out from..
(group_signature): ..here.
* elf-bfd.h (bfd_elf_local_sym_name): Declare.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf.c
bfd/elflink.h