From 4304763ba281f805684fb41e7b2cde8b401980df Mon Sep 17 00:00:00 2001 From: bellard Date: Thu, 29 May 2003 20:05:35 +0000 Subject: [PATCH] misplaced #endif git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@200 c046a42c-6fe2-441c-8c8c-71466251a162 --- linux-user/main.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/linux-user/main.c b/linux-user/main.c index eeea342d2b..6c03d6f925 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -38,6 +38,7 @@ static const char *interp_prefix = CONFIG_QEMU_PREFIX; /* Force usage of an ELF interpreter even if it is an ELF shared object ! */ const char interp[] __attribute__((section(".interp"))) = "/lib/ld-linux.so.2"; +#endif /* for recent libc, we add these dummies symbol which are not declared when generating a linked object (bug in ld ?) */ @@ -48,8 +49,6 @@ long __fini_array_start[0]; long __fini_array_end[0]; #endif -#endif - /* XXX: on x86 MAP_GROWSDOWN only works if ESP <= address + 32, so we allocate a bigger stack. Need a better solution, for example by remapping the process stack directly at the right place */