Skip to content
Snippets Groups Projects
Commit 26163c10 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

ntdll: Don't touch the top of the 32-bit thread stack.

parent cc0ca49a
No related branches found
No related tags found
No related merge requests found
......@@ -97,7 +97,7 @@ __ASM_GLOBAL_FUNC( alloc_fs_sel,
"pushq %rdi\n\t"
"movq %rsp,%rdi\n\t"
"movl 0x4(%rdx),%esp\n\t" /* Tib.StackBase */
"subl $0x10,%esp\n\t"
"subl $0x20,%esp\n\t"
/* setup modify_ldt struct on 32-bit stack */
"movl %ecx,(%rsp)\n\t" /* entry_number */
"movl %edx,4(%rsp)\n\t" /* base */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment