aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/uclibc/uclibc-git/pro-sym-mips-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/uclibc/uclibc-git/pro-sym-mips-fix.patch')
-rw-r--r--recipes/uclibc/uclibc-git/pro-sym-mips-fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/uclibc/uclibc-git/pro-sym-mips-fix.patch b/recipes/uclibc/uclibc-git/pro-sym-mips-fix.patch
new file mode 100644
index 0000000000..00725583d2
--- /dev/null
+++ b/recipes/uclibc/uclibc-git/pro-sym-mips-fix.patch
@@ -0,0 +1,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