From dac0f7723437aa52232eb98500be1608b32fc657 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 14 Feb 2003 06:11:21 +0000 Subject: Update. 2003-02-13 Jakub Jelinek * sysdeps/alpha/dl-machine.h (elf_machine_rela): Add instead of subtracting map->l_tls_offset. --- sysdeps/alpha/dl-machine.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sysdeps/alpha/dl-machine.h') diff --git a/sysdeps/alpha/dl-machine.h b/sysdeps/alpha/dl-machine.h index 25359d8..4704428 100644 --- a/sysdeps/alpha/dl-machine.h +++ b/sysdeps/alpha/dl-machine.h @@ -627,12 +627,12 @@ elf_machine_rela (struct link_map *map, else if (r_type == R_ALPHA_TPREL64) { #ifdef RTLD_BOOTSTRAP - *reloc_addr = sym_raw_value - map->l_tls_offset; + *reloc_addr = sym_raw_value + map->l_tls_offset; #else if (sym_map) { CHECK_STATIC_TLS (map, sym_map); - *reloc_addr = sym_raw_value - sym_map->l_tls_offset; + *reloc_addr = sym_raw_value + sym_map->l_tls_offset; } #endif } -- cgit v1.1