diff --git a/linux-user/main.c b/linux-user/main.c index eeea342d2b148ae7155e91ac8d8aa38643248052..6c03d6f925fcf3447ceaa1b91fcbac95dae2a309 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 */