aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/uclibc/uclibc-git/pro-sym-mips-fix.patch
blob: 00725583d25ce3fdec0e6027f061245c6bb45fc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: git/ldso/ldso/mips/elfinterp.c
===================================================================
--- git.orig/ldso/ldso/mips/elfinterp.c	2011-01-13 17:20:41.708656002 -0800
+++ git/ldso/ldso/mips/elfinterp.c	2011-01-13 17:21:59.338656002 -0800
@@ -220,7 +220,7 @@
 				if (ELF32_ST_BIND(symtab[symtab_index].st_info) != STB_LOCAL) {
 					symbol_addr = (unsigned long) _dl_find_hash(symname, tpnt->symbol_scope,
 						tpnt, elf_machine_type_class(reloc_type), &sym_ref);
-					tls_tpnt = sym_ref.tpnt;
+					tpnt_tls = sym_ref.tpnt;
 				}
 			    /* In case of a TLS reloc, tpnt_tls NULL means we have an 'anonymous'
 			       symbol.  This is the case for a static tls variable, so the lookup