diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-03-10 04:43:42 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-03-10 04:43:42 +0000 |
commit | d6bfcdb505ffd51bcf218362eee92fa7c779c86f (patch) | |
tree | e9bafe59948dfa46d047fcd96e7ca0a6f51c99ca /gprof/utils.h | |
parent | 998f2b67a921506635e9f23f4ada35255972aabb (diff) | |
download | gdb-d6bfcdb505ffd51bcf218362eee92fa7c779c86f.zip gdb-d6bfcdb505ffd51bcf218362eee92fa7c779c86f.tar.gz gdb-d6bfcdb505ffd51bcf218362eee92fa7c779c86f.tar.bz2 |
From Eric Youngdale <eric@andante.jic.com>:
* elf-bfd.h (elf_symbol_type): Add version field.
* elfcode.h (elf_slurp_symbol_table): Set version field.
* elflink.h (elf_link_add_object_symbols): When creating an
indirect symbol for a default version symbol, set DEF_DYNAMIC if
appropriate. Set up an indirection from the nondefault version of
the symbol as well.
(NAME(bfd_elf,size_dynamic_sections)): Call
elf_link_assign_sym_version before checking whether there are any
versions. Always record the version name as a dynamic symbol.
Initialize counters.
(elf_link_assign_sym_version): After finding a version, see if a
symbol should be forced to local scope. Create a new version
definition if appropriate.
(elf_link_output_extsym): Correct indirect symbol handling.
* elf.c (bfd_elf_print_symbol): Print version information.
(bfd_section_from_shdr): Turn version sections into BFD sections.
(elf_fake_sections): Only copy cverdefs and cverrefs into sh_info
if sh_info is not already set.
(_bfd_elf_copy_private_section_data): Copy sh_info for version
sections.
* elflink.c (_bfd_elf_link_record_dynamic_symbol): Tell
_bfd_stringtab_add to copy the name into permanent memory if
appropriate.
Diffstat (limited to 'gprof/utils.h')
0 files changed, 0 insertions, 0 deletions