mirror of
git://sourceware.org/git/glibc.git
synced 2024-12-21 04:31:04 +08:00
(elf_machine_rela): Move CHECK_STATIC_TLS before l_tls_offset use.
This commit is contained in:
parent
9cc157d474
commit
6ad3dd03b3
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user