summaryrefslogtreecommitdiff
path: root/ldso/ldso/x86_64
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2011-02-26 19:09:46 +0100
committerPeter S. Mazinger <ps.m@gmx.net>2011-03-03 18:22:48 +0100
commit60d28a6cda74226e0532a58336a83dae0af347fb (patch)
treeab5e437905f367fd35f811410569c622ca3da5c0 /ldso/ldso/x86_64
parent33c5506e97dc04a46fb7e06c03de144b66788520 (diff)
initialize tls_tpnt to NULL on all archs
Initialize tls_tpnt to NULL on all archs instead of 0. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Diffstat (limited to 'ldso/ldso/x86_64')
-rw-r--r--ldso/ldso/x86_64/elfinterp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/x86_64/elfinterp.c b/ldso/ldso/x86_64/elfinterp.c
index 15d773388..27b1a15fd 100644
--- a/ldso/ldso/x86_64/elfinterp.c
+++ b/ldso/ldso/x86_64/elfinterp.c
@@ -157,7 +157,7 @@ _dl_do_reloc(struct elf_resolve *tpnt, struct dyn_elf *scope,
int reloc_type;
int symtab_index;
char *symname;
- struct elf_resolve *tls_tpnt = 0;
+ struct elf_resolve *tls_tpnt = NULL;
struct symbol_ref sym_ref;
ElfW(Addr) *reloc_addr;
ElfW(Addr) symbol_addr;