Apparently i made a typo when applying 278a06d7abcc8774ba9bb9c15779749c7e2d68cd sorry.. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
@@ -526,8 +526,8 @@ void *_dl_get_ready_to_run(struct elf_resolve *tpnt, DL_LOADADDR_TYPE load_addr,
#ifdef __LDSO_STANDALONE_SUPPORT__
if (_start == (void *) auxvt[AT_ENTRY].a_un.a_val) {
- int argc = (int) aux_dat[-1];
ElfW(Addr) *aux_dat = (ElfW(Addr) *) argv;
+ int argc = (int) aux_dat[-1];
tpnt->libname = argv[0];
while (argc > 1)