diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2021-12-09 21:16:19 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2021-12-09 21:16:19 +0000 |
| commit | 23e0c0e9a3e0c73169c2aa90e26bb5cb35f1aa2f (patch) | |
| tree | b4edb28da85522c67a6b302164e1cb71095858d6 /libexec | |
| parent | 03f6b141068ee7f1004ebfc76242cf951494b7d2 (diff) | |
Diffstat (limited to 'libexec')
| -rw-r--r-- | libexec/rtld-elf/mips/reloc.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libexec/rtld-elf/mips/reloc.c b/libexec/rtld-elf/mips/reloc.c index d870b8a1952c..a39a96e20b00 100644 --- a/libexec/rtld-elf/mips/reloc.c +++ b/libexec/rtld-elf/mips/reloc.c @@ -783,8 +783,7 @@ __tls_get_addr(tls_index* ti) char *p; tls = _get_tp(); - p = tls_get_addr_common(tls, ti->ti_module, ti->ti_offset + - TLS_DTV_OFFSET); + p = tls_get_addr_common(tls, ti->ti_module, ti->ti_offset); - return (p); + return (p + TLS_DTV_OFFSET); } |
