Commit 4c4094e8 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 1f50b7f7
......@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment