R_PARISC_TLS_DTPOFF32 reloc handling

* sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
	R_PARISC_TLS_DTPOFF32 reloc addend.
This commit is contained in:
Alan Modra 2018-04-21 12:41:29 +09:30
parent 5db7d705db
commit 0937e209a7
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2018-05-13 Alan Modra <amodra@gmail.com>
* sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
R_PARISC_TLS_DTPOFF32 reloc addend.
2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
* bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.

View File

@ -690,7 +690,7 @@ elf_machine_rela (struct link_map *map,
/* During relocation all TLS symbols are defined and used.
Therefore the offset is already correct. */
if (sym != NULL)
*reloc_addr = sym->st_value;
*reloc_addr = sym->st_value + reloc->r_addend;
return;
case R_PARISC_TLS_TPREL32: