am 6b89c634: am c7b9f954: am 91392116: am 33031fed: Merge "Fix typo of DT_NEEDED for DT_NULL"

* commit '6b89c6341f2d805b7d9913d69ef6038b60b2af7b':
  Fix typo of DT_NEEDED for DT_NULL
This commit is contained in:
Brian Carlstrom 2013-03-07 00:18:45 +00:00 committed by Android Git Automerger
commit 4bf33991b2

View File

@ -799,7 +799,7 @@ static int soinfo_unload(soinfo* si) {
TRACE("unloading '%s'\n", si->name);
si->CallDestructors();
for (Elf32_Dyn* d = si->dynamic; d->d_tag != DT_NEEDED; ++d) {
for (Elf32_Dyn* d = si->dynamic; d->d_tag != DT_NULL; ++d) {
if (d->d_tag == DT_NEEDED) {
const char* library_name = si->strtab + d->d_un.d_val;
soinfo* lsi = find_loaded_library(library_name);