diff options
author | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-01-08 14:39:43 +0000 |
---|---|---|
committer | ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> | 2008-01-08 14:39:43 +0000 |
commit | 7bba1ee81bb1720590aceeed944929f607924c9e (patch) | |
tree | 6e5a6156040a545c49eaa49e39ebf6c9b690a103 /linux-user | |
parent | c2c59c3e760a62b0b3d2d0fb2bc49c644789c54a (diff) | |
download | qemu-7bba1ee81bb1720590aceeed944929f607924c9e.zip |
Fix section switching buglet, by Edgar E. Iglesias.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3899 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/linux-user/main.c b/linux-user/main.c index e3a23742e5..164fdb9edb 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 |