commit | 30fdc06bbaeaff871780f9816e312e3820fb214a | [log] [tgz] |
---|---|---|
author | Rich Felker <dalias@aerifal.cx> | Tue Sep 22 19:21:57 2015 +0000 |
committer | Rich Felker <dalias@aerifal.cx> | Tue Sep 22 19:21:57 2015 +0000 |
tree | 7225d69f06e784850f79848122fb4f8623ddb231 | |
parent | eaf7ab6e24914bae8092edf05919e43f10092533 [diff] [blame] |
fix resolving interp string address on fdpic ldd command
diff --git a/src/ldso/dynlink.c b/src/ldso/dynlink.c index 2c822b6..f8325a0 100644 --- a/src/ldso/dynlink.c +++ b/src/ldso/dynlink.c
@@ -1512,8 +1512,7 @@ if (ldd_mode) { for (i=0; i<app.phnum; i++) { if (app.phdr[i].p_type == PT_INTERP) - ldso.name = (void *)(app.base - + app.phdr[i].p_vaddr); + ldso.name = laddr(&app, app.phdr[i].p_vaddr); } dprintf(1, "\t%s (%p)\n", ldso.name, ldso.base); }