* elf64-alpha.c (elf64_alpha_relocate_section): Use dtp_base for
the zero index relocs produced by elf64_alpha_relax_tls_get_addr.
This commit is contained in:
parent
a60a53c5fa
commit
f915360b43
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-05-30 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
|
* elf64-alpha.c (elf64_alpha_relocate_section): Use dtp_base for
|
||||||
|
the zero index relocs produced by elf64_alpha_relax_tls_get_addr.
|
||||||
|
|
||||||
2005-05-29 Richard Henderson <rth@redhat.com>
|
2005-05-29 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
* configure.in (--enable-secureplt): New.
|
* configure.in (--enable-secureplt): New.
|
||||||
|
|
|
@ -4098,7 +4098,7 @@ elf64_alpha_relocate_section (bfd *output_bfd, struct bfd_link_info *info,
|
||||||
|
|
||||||
/* If this is a tp-relative relocation against sym 0,
|
/* If this is a tp-relative relocation against sym 0,
|
||||||
this is hackery from relax_section. Force the value to
|
this is hackery from relax_section. Force the value to
|
||||||
be the tls base. */
|
be the tls module base. */
|
||||||
if (r_symndx == 0
|
if (r_symndx == 0
|
||||||
&& (r_type == R_ALPHA_TLSLDM
|
&& (r_type == R_ALPHA_TLSLDM
|
||||||
|| r_type == R_ALPHA_GOTTPREL
|
|| r_type == R_ALPHA_GOTTPREL
|
||||||
|
@ -4106,7 +4106,7 @@ elf64_alpha_relocate_section (bfd *output_bfd, struct bfd_link_info *info,
|
||||||
|| r_type == R_ALPHA_TPRELHI
|
|| r_type == R_ALPHA_TPRELHI
|
||||||
|| r_type == R_ALPHA_TPRELLO
|
|| r_type == R_ALPHA_TPRELLO
|
||||||
|| r_type == R_ALPHA_TPREL16))
|
|| r_type == R_ALPHA_TPREL16))
|
||||||
value = tp_base;
|
value = dtp_base;
|
||||||
|
|
||||||
if (local_got_entries)
|
if (local_got_entries)
|
||||||
gotent = local_got_entries[r_symndx];
|
gotent = local_got_entries[r_symndx];
|
||||||
|
|
Loading…
Reference in a new issue