preloader: Clear %gs again before calling the interpreter entry point.

This commit is contained in:
Alexandre Julliard 2006-11-04 20:25:06 +01:00
parent 1f50b7f7eb
commit 4c4094e86e
1 changed files with 1 additions and 0 deletions

View File

@ -213,6 +213,7 @@ __ASM_GLOBAL_FUNC(_start,
"\txor %eax,%eax\n"
"\txor %ecx,%ecx\n"
"\txor %edx,%edx\n"
"\tmov %ax,%gs\n" /* clear %gs again */
"\tret\n")
/* wrappers for Linux system calls */