summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2012-07-16 10:08:16 -0700
committerandroid code review <noreply-gerritcodereview@google.com>2012-07-16 10:08:17 -0700
commit05f03b8875ed4aab95e5587d066d62a781af97bc (patch)
tree6be741ab104858dba834bc84ecb75fabec4ddfab
parentdecb531ce29e0472d5d3117c4bfda674f374a771 (diff)
parent8211bc6325ef61f2fe2021fac9e0f4219abaccf2 (diff)
downloadbionic-05f03b8875ed4aab95e5587d066d62a781af97bc.zip
bionic-05f03b8875ed4aab95e5587d066d62a781af97bc.tar.gz
bionic-05f03b8875ed4aab95e5587d066d62a781af97bc.tar.bz2
Merge "linker: cleanup of undefined state handling, which is really dead code"
-rw-r--r--linker/linker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linker/linker.c b/linker/linker.c
index 4bf5dc9..2a7ccd5 100644
--- a/linker/linker.c
+++ b/linker/linker.c
@@ -462,7 +462,7 @@ soinfo_do_lookup(soinfo *si, const char *name, Elf32_Addr *offset)
DEBUG("%5d %s: looking up %s in %s\n",
pid, si->name, name, lsi->name);
s = soinfo_elf_lookup(lsi, elf_hash, name);
- if ((s != NULL) && (s->st_shndx != SHN_UNDEF))
+ if (s != NULL)
goto done;
}
}