[uClibc-cvs] CVS update of uClibc/ldso (include/ldso.h libdl/libdl.c)

Joakim Tjernlund jocke at codepoet.org
Thu Sep 2 07:12:11 UTC 2004


    Date: Thursday, September 2, 2004 @ 01:12:11
  Author: jocke
    Path: /var/cvs/uClibc/ldso

Modified: include/ldso.h (1.17 -> 1.18) libdl/libdl.c (1.52 -> 1.53)

Remove unused variables. From Peter Mazinger.


Index: uClibc/ldso/include/ldso.h
diff -u uClibc/ldso/include/ldso.h:1.17 uClibc/ldso/include/ldso.h:1.18
--- uClibc/ldso/include/ldso.h:1.17	Thu Aug 19 03:34:11 2004
+++ uClibc/ldso/include/ldso.h	Thu Sep  2 01:12:10 2004
@@ -38,8 +38,6 @@
 extern const char *_dl_progname;       /* The name of the executable being run */
 extern unsigned char *_dl_malloc_addr; /* Lets _dl_malloc use the already allocated memory page */
 extern unsigned char *_dl_mmap_zero;   /* Also used by _dl_malloc */
-extern unsigned long *_dl_brkp;        /* The end of the data segment for brk and sbrk */
-extern unsigned long *_dl_envp;        /* The environment address */
 extern int _dl_secure;                 /* Are we dealing with setuid stuff? */
 extern size_t _dl_pagesize;            /* Store the page size for use later */
 extern const char *_dl_progname;       /* The name of the shared library loader */
Index: uClibc/ldso/libdl/libdl.c
diff -u uClibc/ldso/libdl/libdl.c:1.52 uClibc/ldso/libdl/libdl.c:1.53
--- uClibc/ldso/libdl/libdl.c:1.52	Thu Aug 26 08:17:10 2004
+++ uClibc/ldso/libdl/libdl.c	Thu Sep  2 01:12:10 2004
@@ -130,7 +130,6 @@
 	struct elf_resolve *tpnt, *tfrom, *tcurr;
 	struct dyn_elf *dyn_chain, *rpnt = NULL, *dyn_ptr;
 	struct dyn_elf *dpnt;
-	static int dl_init = 0;
 	ElfW(Addr) from;
 	struct elf_resolve *tpnt1;
 	void (*dl_brk) (void);



More information about the uClibc-cvs mailing list