Jakub Jelinek <jj@ultra.linux.cz>
commita49011ee5b7413b81983e1cbc3c8bef1a5c40bef
authorRichard Henderson <rth@redhat.com>
Fri, 30 Jul 1999 21:34:44 +0000 (30 21:34 +0000)
committerRichard Henderson <rth@redhat.com>
Fri, 30 Jul 1999 21:34:44 +0000 (30 21:34 +0000)
tree61c7a575a04569cdac2208e2d9f77439f487fbc8
parentd6ea0cdb9a408cb50ee7281bef9e4ca14e700892
Jakub Jelinek  <jj@ultra.linux.cz>

        * elf-bfd.h (struct elf_backend_data): Add
        print_symbol_all and output_arch_syms backend methods.
        * elfxx-target.h: Likewise.
        * elf64-sparc.c (sparc64_elf_bfd_link_hash_table_create,
        sparc64_elf_add_symbol_hook, sparc64_elf_output_arch_syms,
        sparc64_elf_get_symbol_type, sparc64_elf_symbol_processing): New
        functions.
        (sparc64_elf_size_dynamic_sections): Leave space for STT_REGISTER
        symbols in .dynsym, add their names into .dynstr. Put those symbols
        into dynlocal.
        (sparc64_elf_finish_dynamic_sections): Fix up DT_SPARC_REGISTER
        pointers to STT_REGISTER symbols in dynsym section.
        (sparc64_elf_print_symbol_all): New function.
        * elf.c (bfd_elf_print_symbol): Allow special backend symbol
        printing using the print_symbol_all hook.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf.c
bfd/elf64-sparc.c
bfd/elflink.h
bfd/elfxx-target.h