* elf-bfd.h (struct got_entry, struct plt_entry): Forward declare.
authorAlan Modra <amodra@gmail.com>
Tue, 4 Feb 2003 12:49:57 +0000 (12:49 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 4 Feb 2003 12:49:57 +0000 (12:49 +0000)
commit5cab59f6227cb9ef3e5ed2a5bf9df5d3836645b2
tree1187ef2086919d41d343a00b4730c265baf49440
parent68bfbfcc5aa8bda806bef9edf274059d6ad571fc
* 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