Merge "linker: cleanup of undefined state handling, which is really dead code"

This commit is contained in:
Elliott Hughes
2012-07-16 10:08:16 -07:00
committed by android code review

View File

@@ -462,7 +462,7 @@ soinfo_do_lookup(soinfo *si, const char *name, Elf32_Addr *offset)
DEBUG("%5d %s: looking up %s in %s\n", DEBUG("%5d %s: looking up %s in %s\n",
pid, si->name, name, lsi->name); pid, si->name, name, lsi->name);
s = soinfo_elf_lookup(lsi, elf_hash, name); s = soinfo_elf_lookup(lsi, elf_hash, name);
if ((s != NULL) && (s->st_shndx != SHN_UNDEF)) if (s != NULL)
goto done; goto done;
} }
} }