* elf64-alpha.c (ALPHA_ELF_LINK_HASH_PLT_LOC): New.
commitd8d25b199fdb09f069192173405e8a7f33e90b4e
authorRichard Henderson <rth@redhat.com>
Wed, 22 Jan 2003 00:47:58 +0000 (22 00:47 +0000)
committerRichard Henderson <rth@redhat.com>
Wed, 22 Jan 2003 00:47:58 +0000 (22 00:47 +0000)
tree0b0f086fc88b1382be8716b573a079cc535f1e79
parentd2346560837cf7578ef450f38b1c05b7b6815a8f
    * elf64-alpha.c (ALPHA_ELF_LINK_HASH_PLT_LOC): New.
        (struct alpha_elf_link_hash_entry): Add plt_old_section, plt_old_value.
        (elf64_alpha_adjust_dynamic_symbol): Set them.
        (elf64_alpha_size_plt_section_1): Reset them when plt entry removed.
        (elf64_alpha_relax_tls_get_addr): Handle LDM relocs.  Frob the
        symbol index when relaxing LDM to TPREL.
        (elf64_alpha_relax_section): Likewise.  Allow relaxation of GD
        relocs, even if the target isn't locally defined.
        (elf64_alpha_check_relocs): Frob LDM reloc symndx to zero.
        (elf64_alpha_relocate_section): Likewise.  Force TP-relative
        relocs vs symndx 0 to the tp base.
bfd/ChangeLog
bfd/elf64-alpha.c