(elf_machine_rela): Move CHECK_STATIC_TLS before l_tls_offset use.

This commit is contained in:
Ulrich Drepper 2003-01-12 08:47:37 +00:00
parent 9cc157d474
commit 6ad3dd03b3

View File

@ -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
}