diff options
author | Erik Gilling <konkers@android.com> | 2009-08-13 16:05:30 -0700 |
---|---|---|
committer | Erik Gilling <konkers@android.com> | 2009-08-13 16:18:07 -0700 |
commit | 30eb40241c612a7ddbd21c4daa4e7bbfd9d5e89f (patch) | |
tree | 12f9c24ab25aa130fe55b9a64b6139e8346343eb /linker | |
parent | ac68b70ed95db959274106d268deca1d303fa15c (diff) | |
download | bionic-30eb40241c612a7ddbd21c4daa4e7bbfd9d5e89f.zip bionic-30eb40241c612a7ddbd21c4daa4e7bbfd9d5e89f.tar.gz bionic-30eb40241c612a7ddbd21c4daa4e7bbfd9d5e89f.tar.bz2 |
bionic: linker: add error message if link failed due to previous error
Signed-off-by: Erik Gilling <konkers@android.com>
Diffstat (limited to 'linker')
-rw-r--r-- | linker/linker.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/linker/linker.c b/linker/linker.c index 789a828..eed9738 100644 --- a/linker/linker.c +++ b/linker/linker.c @@ -1085,7 +1085,10 @@ soinfo *find_library(const char *name) for(si = solist; si != 0; si = si->next){ if(!strcmp(bname, si->name)) { - if(si->flags & FLAG_ERROR) return 0; + if(si->flags & FLAG_ERROR) { + DL_ERR("%5d '%s' failed to load previously", pid, bname); + return NULL; + } if(si->flags & FLAG_LINKED) return si; DL_ERR("OOPS: %5d recursive link to '%s'", pid, si->name); return NULL; |