OSDN Git Service

* elf64-alpha.c (alpha_dynamic_entries_for_reloc): GOTTPREL and
authorrth <rth>
Tue, 21 Jan 2003 08:59:25 +0000 (08:59 +0000)
committerrth <rth>
Tue, 21 Jan 2003 08:59:25 +0000 (08:59 +0000)
commit69b443700ca7a40845196a616a7cf0a2866f5d07
treeaf418eaf5cc08157c2d34e2ba0706334937f35ca
parentc132a0a7404a444afb05e479889ff9fc692db861
    * 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