[git commit] ldso: Fix misplaced declaration

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Apr 23 11:33:23 UTC 2014


commit: http://git.uclibc.org/uClibc/commit/?id=75cc39f89b366257d51ad3dbdf1ffd66e52c1a09
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master

Apparently i made a typo when applying
278a06d7abcc8774ba9bb9c15779749c7e2d68cd
sorry..

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
 ldso/ldso/ldso.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c
index 3b00e05..5619629 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)


More information about the uClibc-cvs mailing list