aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-04-21 12:41:29 +0930
committerAlan Modra <amodra@gmail.com>2018-05-13 08:32:28 +0930
commit0937e209a7080d52cf7e5a6605532ea081a542ff (patch)
tree29fd2dd4809ee71d1a0c2bb809c58fdd13ce882e /sysdeps
parent5db7d705db472f47a349fe342a8d7150ec922786 (diff)
downloadglibc-0937e209a7080d52cf7e5a6605532ea081a542ff.zip
glibc-0937e209a7080d52cf7e5a6605532ea081a542ff.tar.gz
glibc-0937e209a7080d52cf7e5a6605532ea081a542ff.tar.bz2
R_PARISC_TLS_DTPOFF32 reloc handling
* sysdeps/hppa/dl-machine.h (elf_machine_rela): Add R_PARISC_TLS_DTPOFF32 reloc addend.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/hppa/dl-machine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/hppa/dl-machine.h b/sysdeps/hppa/dl-machine.h
index 3a57c7e..5f4e0d3 100644
--- a/sysdeps/hppa/dl-machine.h
+++ b/sysdeps/hppa/dl-machine.h
@@ -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: