include/elf/
commit9722efe170eb8d08bbf7780d99593aff9d00863a
authorRichard Henderson <rth@redhat.com>
Sun, 2 Jun 2002 02:28:45 +0000 (2 02:28 +0000)
committerRichard Henderson <rth@redhat.com>
Sun, 2 Jun 2002 02:28:45 +0000 (2 02:28 +0000)
treeb22b587e96faa8ebe101b061858b8a1dc9ddd92d
parentecc90c947fdaf80623baa785cda035d6d44a4416
include/elf/
        * alpha.h (LITUSE_ALPHA_ADDR, LITUSE_ALPHA_BASE, LITUSE_ALPHA_BYTOFF,
        LITUSE_ALPHA_JSR, LITUSE_ALPHA_TLSGD, LITUSE_ALPHA_TLSLDM): New.

gas/
        * config/tc-alpha.c: Move LITUSE constants to "elf/alpha.h".
        Rename them LITUSE_ALPHA_*.

bfd/
        * elf64-alpha.c (alpha_get_dtprel_base, alpha_get_tprel_base): New.
        (elf64_alpha_relocate_section): Use them.  Reject LE TLS relocs
        in shared libraries.  Fix DTPRELHI and TPRELHI value.
        (INSN_ADDQ, INSN_RDUNIQ): New.
        (struct alpha_relax_info): Add symtab_hdr, tls_segment, first_gotent.
        (elf64_alpha_relax_with_lituse): Return boolean.  Remove irelend
        argument.  Reject dynamic symbols.  Use LITUSE symbolic constants.
        (elf64_alpha_relax_got_load): Rename from relax_without_lituse.
        Handle GOTDTPREL and GOTTPREL relocations.
        (elf64_alpha_relax_gprelhilo): New.
        (elf64_alpha_relax_tls_get_addr): New.
        (elf64_alpha_relax_find_tls_segment): New.
        (elf64_alpha_relax_section): Handle TLS relocations.
        (ALPHA_ELF_LINK_HASH_TLS_IE): New.
        (elf64_alpha_check_relocs): Set it.
bfd/ChangeLog
bfd/elf64-alpha.c
gas/ChangeLog
gas/config/tc-alpha.c
include/elf/ChangeLog
include/elf/alpha.h