mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-27 03:54:41 +08:00
* elf_i386_relocate_section (R_386_TLS_TPOFF32): Negate addend.
This commit is contained in:
parent
a6588c3004
commit
c5c1f40c26
@ -1,3 +1,7 @@
|
||||
2002-09-17 Jakub Jelinek <jakub@redhat.com>
|
||||
|
||||
* elf_i386_relocate_section (R_386_TLS_TPOFF32): Negate addend.
|
||||
|
||||
2002-09-17 Alan Modra <amodra@bigpond.net.au>
|
||||
|
||||
* elf64-alpha.c (alpha_elf_size_info): Make static.
|
||||
|
@ -2579,7 +2579,7 @@ elf_i386_relocate_section (output_bfd, info, input_bfd, input_section,
|
||||
else
|
||||
dr_type = R_386_TLS_TPOFF32;
|
||||
if (dr_type == R_386_TLS_TPOFF32 && indx == 0)
|
||||
bfd_put_32 (output_bfd, relocation - dtpoff_base (info),
|
||||
bfd_put_32 (output_bfd, dtpoff_base (info) - relocation,
|
||||
htab->sgot->contents + off);
|
||||
else
|
||||
bfd_put_32 (output_bfd, 0,
|
||||
|
Loading…
Reference in New Issue
Block a user