[uClibc-cvs] uClibc/ldso/ldso ldso.c,1.56,1.57

Erik Andersen andersen at codepoet.org
Thu Nov 28 15:21:14 UTC 2002


Update of /var/cvs/uClibc/ldso/ldso
In directory winder:/tmp/cvs-serv26735

Modified Files:
	ldso.c 
Log Message:
Kill a bit of unused cruft


Index: ldso.c
===================================================================
RCS file: /var/cvs/uClibc/ldso/ldso/ldso.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- ldso.c	20 Nov 2002 10:49:56 -0000	1.56
+++ ldso.c	28 Nov 2002 15:21:10 -0000	1.57
@@ -209,7 +209,6 @@
 	Elf32_auxv_t auxvt[AT_EGID + 1];
 	unsigned char *malloc_buffer, *mmap_zero;
 	Elf32_Dyn *dpnt;
-	Elf32_Dyn *dpnt_debug = NULL;
 	unsigned long *hash_addr;
 	struct r_debug *debug_addr;
 	int indx;
@@ -432,8 +431,6 @@
 					if (dpnt->d_tag == DT_DEBUG)
 #ifdef FORCE_SHAREABLE_TEXT_SEGMENTS
 						dpnt->d_un.d_val = (unsigned long) debug_addr;
-#else
-						dpnt_debug = dpnt;
 #endif
 					if (dpnt->d_tag == DT_TEXTREL)
 						app_tpnt->dynamic_info[DT_TEXTREL] = 1;
@@ -486,9 +483,6 @@
 			}
 		}
 	}
-
-	/* Now we can store the debug structure address */
-	dpnt_debug->d_un.d_val = (unsigned long) debug_addr;
 #endif
 
 




More information about the uClibc-cvs mailing list