aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-01-12 08:47:37 +0000
committerUlrich Drepper <drepper@redhat.com>2003-01-12 08:47:37 +0000
commit6ad3dd03b3f5790c75f03dbae653879e090ffd4f (patch)
tree3c8b40f3504715095abbd417918603c9816cf65f
parent9cc157d474ad2cd7bdffd0e5401db477eeb980b2 (diff)
downloadglibc-6ad3dd03b3f5790c75f03dbae653879e090ffd4f.tar.xz
glibc-6ad3dd03b3f5790c75f03dbae653879e090ffd4f.zip
(elf_machine_rela): Move CHECK_STATIC_TLS before l_tls_offset use.
-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 711bf10fdd..3a182ca99f 100644
--- a/sysdeps/alpha/dl-machine.h
+++ b/sysdeps/alpha/dl-machine.h
@@ -1,5 +1,5 @@
/* Machine-dependent ELF dynamic relocation inline functions. Alpha version.
- Copyright (C) 1996-2001, 2002 Free Software Foundation, Inc.
+ Copyright (C) 1996-2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson <rth@tamu.edu>.
@@ -610,8 +610,8 @@ elf_machine_rela (struct link_map *map,
#else
if (sym_map)
{
- *reloc_addr = sym_value - sym_map->l_tls_offset;
CHECK_STATIC_TLS (map, sym_map);
+ *reloc_addr = sym_value - sym_map->l_tls_offset;
}
#endif
}