Hello, I needed this or similar to build recent qemu's with gcc-4.
Best regards -- Edgar E. Iglesias Axis Communications AB diff --git a/linux-user/main.c b/linux-user/main.c index e3a2374..164fdb9 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -53,7 +53,8 @@ asm(".globl __preinit_array_start\n" "__init_array_end:\n" "__fini_array_start:\n" "__fini_array_end:\n" - ".long 0\n"); + ".long 0\n" + ".previous\n"); #endif /* XXX: on x86 MAP_GROWSDOWN only works if ESP <= address + 32, so