[uClibc-cvs] CVS update of uClibc/ldso/ldso (dl-startup.c)

Joakim Tjernlund jocke at codepoet.org
Thu Aug 19 08:03:58 UTC 2004


    Date: Thursday, August 19, 2004 @ 02:03:58
  Author: jocke
    Path: /var/cvs/uClibc/ldso/ldso

Modified: dl-startup.c (1.14 -> 1.15)

This is now done in ldso.c


Index: uClibc/ldso/ldso/dl-startup.c
diff -u uClibc/ldso/ldso/dl-startup.c:1.14 uClibc/ldso/ldso/dl-startup.c:1.15
--- uClibc/ldso/ldso/dl-startup.c:1.14	Mon Aug 16 13:17:37 2004
+++ uClibc/ldso/ldso/dl-startup.c	Thu Aug 19 02:03:58 2004
@@ -411,19 +411,6 @@
 	SEND_STDERR("done scanning DYNAMIC section\n");
 #endif
 
-	/* Get some more of the information that we will need to dynamicly link
-	   this module to itself */
-
-	hash_addr = (unsigned long *) (tpnt->dynamic_info[DT_HASH] + load_addr);
-	tpnt->nbucket = *hash_addr++;
-	tpnt->nchain = *hash_addr++;
-	tpnt->elf_buckets = hash_addr;
-	hash_addr += tpnt->nbucket;
-
-#ifdef __SUPPORT_LD_DEBUG_EARLY__
-	SEND_STDERR("done grabbing link information\n");
-#endif
-
 #ifndef FORCE_SHAREABLE_TEXT_SEGMENTS
 	/* Ugly, ugly.  We need to call mprotect to change the protection of
 	   the text pages so that we can do the dynamic linking.  We can set the



More information about the uClibc-cvs mailing list