qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] build error
@ 2008-01-07 11:27 Edgar E. Iglesias
  2008-01-07 23:59 ` Rob Landley
  0 siblings, 1 reply; 5+ messages in thread
From: Edgar E. Iglesias @ 2008-01-07 11:27 UTC (permalink / raw)
  To: qemu-devel

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

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-01-08 14:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-07 11:27 [Qemu-devel] build error Edgar E. Iglesias
2008-01-07 23:59 ` Rob Landley
2008-01-08 10:42   ` Edgar E. Iglesias
2008-01-08 14:43   ` Andreas Färber
2008-01-08 16:53     ` Edgar E. Iglesias

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).