From 7bba1ee81bb1720590aceeed944929f607924c9e Mon Sep 17 00:00:00 2001 From: ths Date: Tue, 8 Jan 2008 14:39:43 +0000 Subject: Fix section switching buglet, by Edgar E. Iglesias. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3899 c046a42c-6fe2-441c-8c8c-71466251a162 --- linux-user/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linux-user') diff --git a/linux-user/main.c b/linux-user/main.c index e3a23742e..164fdb9ed 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 -- cgit v1.2.3