svn commit: branches/uClibc_0_9_29/ldso/ldso
vapier at uclibc.org
vapier at uclibc.org
Sat Jan 5 09:44:59 PST 2008
Author: vapier
Date: 2008-01-05 09:44:59 -0800 (Sat, 05 Jan 2008)
New Revision: 20779
Log:
Merge r20204 by vapier from trunk:
Do string comparisos as late as possible during symbol lookup.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso at st.com>
Modified:
branches/uClibc_0_9_29/ldso/ldso/dl-hash.c
Changeset:
Modified: branches/uClibc_0_9_29/ldso/ldso/dl-hash.c
===================================================================
--- branches/uClibc_0_9_29/ldso/ldso/dl-hash.c 2008-01-05 17:44:25 UTC (rev 20778)
+++ branches/uClibc_0_9_29/ldso/ldso/dl-hash.c 2008-01-05 17:44:59 UTC (rev 20779)
@@ -175,12 +175,12 @@
if (type_class & (sym->st_shndx == SHN_UNDEF))
continue;
- if (_dl_strcmp(strtab + sym->st_name, name) != 0)
- continue;
if (sym->st_value == 0)
continue;
if (ELF_ST_TYPE(sym->st_info) > STT_FUNC)
continue;
+ if (_dl_strcmp(strtab + sym->st_name, name) != 0)
+ continue;
switch (ELF_ST_BIND(sym->st_info)) {
case STB_WEAK:
More information about the uClibc-cvs
mailing list