qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] build error


From: Edgar E. Iglesias
Subject: [Qemu-devel] build error
Date: Mon, 7 Jan 2008 12:27:19 +0100
User-agent: Mutt/1.5.16 (2007-06-09)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]