[uClibc-cvs] uClibc/ldso/ldso/powerpc elfinterp.c,1.35,1.36

Erik Andersen andersen at uclibc.org
Sat Jan 31 03:15:10 UTC 2004


Update of /var/cvs/uClibc/ldso/ldso/powerpc
In directory nail:/home/andersen/CVS/uClibc/ldso/ldso/powerpc

Modified Files:
	elfinterp.c 
Log Message:
Revert to scope as used by original code for now, just in case.
I still don't have a good handle on why and when the different
scope values should be used.


Index: elfinterp.c
===================================================================
RCS file: /var/cvs/uClibc/ldso/ldso/powerpc/elfinterp.c,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- elfinterp.c	30 Jan 2004 20:34:03 -0000	1.35
+++ elfinterp.c	31 Jan 2004 03:15:07 -0000	1.36
@@ -277,10 +277,12 @@
 		return 0;
 	symtab_index = ELF32_R_SYM(rpnt->r_info);
 	symname      = strtab + symtab[symtab_index].st_name;
-#if 0
+
+#if 1
 	sym_scope = scope->dyn->symbol_scope;
 #else
-	sym_scope = scope;/* Funny, this works too and appears to be much faster. */
+	/* Funny, this works too and appears to be much faster. */
+	sym_scope = scope;
 #endif
 	if (reloc_type == R_PPC_COPY) {
 		sym_scope = scope->next;




More information about the uClibc-cvs mailing list