preloader: Clear %gs again before calling the interpreter entry point.
This commit is contained in:
parent
1f50b7f7eb
commit
4c4094e86e
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue