diff options
| author | Ulrich Drepper <drepper@redhat.com> | 2003-02-14 06:02:01 +0000 |
|---|---|---|
| committer | Ulrich Drepper <drepper@redhat.com> | 2003-02-14 06:02:01 +0000 |
| commit | 6e5bb2d5345f0f69db87c04522360d687ed71991 (patch) | |
| tree | 5827cac3ab96e78cae74fe03035c2e6eebcc9541 | |
| parent | c157224cb867c98f4f171e0da588c23fe588512d (diff) | |
| download | glibc-6e5bb2d5345f0f69db87c04522360d687ed71991.tar.xz glibc-6e5bb2d5345f0f69db87c04522360d687ed71991.zip | |
(elf_machine_rela): Add instead of subtracting map->l_tls_offset.
| -rw-r--r-- | sysdeps/alpha/dl-machine.h | 4 |
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 } |
