svn commit: branches/uClibc-nptl/ldso/ldso/i386

carmelo at uclibc.org carmelo at uclibc.org
Mon Feb 23 17:28:08 UTC 2009


Author: carmelo
Date: 2009-02-23 17:28:08 +0000 (Mon, 23 Feb 2009)
New Revision: 25431

Log:
i386 doesn't need to pass the extra tpnt to _dl_find_hash
(it's actually used when TLS is enabled).
No code changes because the _dl_find_hash is a wrapper to
_dl_lookup_hash that doesn't use the extra tpnt parameter.

Signed-off-by: Carmelo Amoroso <carmelo.amoroso at st.com>


Modified:
   branches/uClibc-nptl/ldso/ldso/i386/elfinterp.c


Changeset:
Modified: branches/uClibc-nptl/ldso/ldso/i386/elfinterp.c
===================================================================
--- branches/uClibc-nptl/ldso/ldso/i386/elfinterp.c	2009-02-23 16:51:25 UTC (rev 25430)
+++ branches/uClibc-nptl/ldso/ldso/i386/elfinterp.c	2009-02-23 17:28:08 UTC (rev 25431)
@@ -164,7 +164,6 @@
 	char *symname;
 	unsigned long *reloc_addr;
 	unsigned long symbol_addr;
-	struct elf_resolve *def_mod = 0;
 #if defined (__SUPPORT_LD_DEBUG__)
 	unsigned long old_val;
 #endif
@@ -177,8 +176,7 @@
 
 	if (symtab_index) {
 		symbol_addr = (unsigned long)_dl_find_hash(symname, scope, tpnt,
-							   elf_machine_type_class(reloc_type),
-							   &def_mod);
+							   elf_machine_type_class(reloc_type), NULL);
 
 		/*
 		 * We want to allow undefined references to weak symbols - this



More information about the uClibc-cvs mailing list