about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-02-14 06:11:21 +0000
committerUlrich Drepper <drepper@redhat.com>2003-02-14 06:11:21 +0000
commitdac0f7723437aa52232eb98500be1608b32fc657 (patch)
tree74aea743bf6cfda378df2b38ac43e74c66b35488 /sysdeps
parenta7720b5e184ed038576e017701911169c7de8f8a (diff)
downloadglibc-dac0f7723437aa52232eb98500be1608b32fc657.tar.gz
glibc-dac0f7723437aa52232eb98500be1608b32fc657.tar.xz
glibc-dac0f7723437aa52232eb98500be1608b32fc657.zip
Update.
2003-02-13  Jakub Jelinek  <jakub@redhat.com>

	* sysdeps/alpha/dl-machine.h (elf_machine_rela): Add instead of
	subtracting map->l_tls_offset.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/alpha/dl-machine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/alpha/dl-machine.h b/sysdeps/alpha/dl-machine.h
index 25359d883e..4704428d93 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
 	}