* elf64-alpha.c (alpha_dynamic_entries_for_reloc): GOTTPREL and
authorRichard Henderson <rth@redhat.com>
Tue, 21 Jan 2003 08:59:25 +0000 (08:59 +0000)
committerRichard Henderson <rth@redhat.com>
Tue, 21 Jan 2003 08:59:25 +0000 (08:59 +0000)
commit1bbc9cec6b49e928898668d59dda264e704ae27a
tree2d5c8a7a0fcda03a43464d3d19713c8778cfd962
parent6637feefbe075005a30b2aa71842354d07000f7e
    * elf64-alpha.c (alpha_dynamic_entries_for_reloc): GOTTPREL and
        TPREL also get a reloc if shared.  Remove SREL support.
        (elf64_alpha_emit_dynrel): New.
        (elf64_alpha_relocate_section): Use it.  Resolve dynamic TPREL
        and GOTTPREL relocs to local symbols against the tp base.
        (elf64_alpha_finish_dynamic_symbol): Use elf64_alpha_emit_dynrel.

        * elf64-alpha.c (elf64_alpha_relax_got_load): Decrement got
        use count before clobbering r_type.
        (elf64_alpha_relax_tls_get_addr): Don't use pos[1] if insn
        ordering would mean dataflow inspection is necessary.
bfd/ChangeLog
bfd/elf64-alpha.c