[uClibc-cvs] uClibc/ldso/ldso ldso.c,1.94,1.95

Erik Andersen andersen at uclibc.org
Fri Feb 20 02:59:45 UTC 2004


Update of /var/cvs/uClibc/ldso/ldso
In directory nail:/tmp/cvs-serv4903/ldso

Modified Files:
	ldso.c 
Log Message:
___brk_addr and __environ are not functions.  Finding the broken
lookup on 'atexit' got me excited and I started fixing the same
problem elsewhere.  Except these were correct as-was, and were
not a problem....


Index: ldso.c
===================================================================
RCS file: /var/cvs/uClibc/ldso/ldso/ldso.c,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- ldso.c	20 Feb 2004 02:32:06 -0000	1.94
+++ ldso.c	20 Feb 2004 02:59:42 -0000	1.95
@@ -609,12 +609,12 @@
 	   up each symbol individually. */
 
 
-	_dl_brkp = (unsigned long *) (intptr_t) _dl_find_hash("___brk_addr", NULL, ELF_RTYPE_CLASS_PLT);
+	_dl_brkp = (unsigned long *) (intptr_t) _dl_find_hash("___brk_addr", NULL, 0);
 
 	if (_dl_brkp) {
 		*_dl_brkp = brk_addr;
 	}
-	_dl_envp = (unsigned long *) (intptr_t) _dl_find_hash("__environ", NULL, ELF_RTYPE_CLASS_PLT);
+	_dl_envp = (unsigned long *) (intptr_t) _dl_find_hash("__environ", NULL, 0);
 
 	if (_dl_envp) {
 		*_dl_envp = (unsigned long) envp;




More information about the uClibc-cvs mailing list