* elf-bfd.h (_bfd_elf_rel_vtable_reloc_fn): Declare.
authorRichard Henderson <rth@redhat.com>
Sat, 29 Aug 1998 02:43:47 +0000 (02:43 +0000)
committerRichard Henderson <rth@redhat.com>
Sat, 29 Aug 1998 02:43:47 +0000 (02:43 +0000)
commit09e5322ac06823a664de9028cc31deab297c0a08
tree71032ae1b8489502f651d317177dce501bf7f45f
parent07f50e4e2c520a9daba3642bf87d9040c99aeb33
    * elf-bfd.h (_bfd_elf_rel_vtable_reloc_fn): Declare.
        * elf.c (_bfd_elf_rel_vtable_reloc_fn): New.

        * elf32-i386.c (elf_howto_table): Add vtable relocs.
        (elf_i386_reloc_type_lookup): Recognize them.
        (elf_i386_check_relocs): Pass them off to generic code.
        (elf_i386_relocate_section): Ignore them.
        (elf_i386_gc_mark_hook, elf_i386_gc_sweep_hook): New.
        (elf_backend_can_gc_sections): True.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf.c