summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-04-23 13:33:23 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2014-04-23 13:33:23 +0200
commit75cc39f89b366257d51ad3dbdf1ffd66e52c1a09 (patch)
treedcfd984d434ddf802f48b653f1329a8d6f7d8a1a
parent00f425b39b9258a78df47cebdd0d2c779753392f (diff)
ldso: Fix misplaced declaration
Apparently i made a typo when applying 278a06d7abcc8774ba9bb9c15779749c7e2d68cd sorry.. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--ldso/ldso/ldso.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c
index 3b00e053d..56196292b 100644
--- a/ldso/ldso/ldso.c
+++ b/ldso/ldso/ldso.c
@@ -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)