svn commit: trunk/uClibc/ldso: include ldso
jocke at uclibc.org
jocke at uclibc.org
Sun Sep 18 14:14:58 UTC 2005
Author: jocke
Date: 2005-09-18 07:14:56 -0700 (Sun, 18 Sep 2005)
New Revision: 11497
Log:
Remove unused function.
Modified:
trunk/uClibc/ldso/include/dl-hash.h
trunk/uClibc/ldso/ldso/dl-hash.c
Changeset:
Modified: trunk/uClibc/ldso/include/dl-hash.h
===================================================================
--- trunk/uClibc/ldso/include/dl-hash.h 2005-09-18 08:07:11 UTC (rev 11496)
+++ trunk/uClibc/ldso/include/dl-hash.h 2005-09-18 14:14:56 UTC (rev 11497)
@@ -69,7 +69,6 @@
extern struct elf_resolve * _dl_loaded_modules;
extern struct dyn_elf * _dl_handles;
-extern struct elf_resolve * _dl_check_hashed_files(const char * libname);
extern struct elf_resolve * _dl_add_elf_hash_table(const char * libname,
char * loadaddr, unsigned long * dynamic_info,
unsigned long dynamic_addr, unsigned long dynamic_size);
Modified: trunk/uClibc/ldso/ldso/dl-hash.c
===================================================================
--- trunk/uClibc/ldso/ldso/dl-hash.c 2005-09-18 08:07:11 UTC (rev 11496)
+++ trunk/uClibc/ldso/ldso/dl-hash.c 2005-09-18 14:14:56 UTC (rev 11497)
@@ -77,21 +77,6 @@
return hash;
}
-/* Check to see if a library has already been added to the hash chain. */
-struct elf_resolve *_dl_check_hashed_files(const char *libname)
-{
- struct elf_resolve *tpnt;
- int len = _dl_strlen(libname);
-
- for (tpnt = _dl_loaded_modules; tpnt; tpnt = tpnt->next) {
- if (_dl_strncmp(tpnt->libname, libname, len) == 0 &&
- (tpnt->libname[len] == '\0' || tpnt->libname[len] == '.'))
- return tpnt;
- }
-
- return NULL;
-}
-
/*
* We call this function when we have just read an ELF library or executable.
* We add the relevant info to the symbol chain, so that we can resolve all
More information about the uClibc-cvs
mailing list