mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-15 04:34:48 +00:00
ntdll: Use 32-bit stack in alloc_fs_sel().
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
24a4b8caf1
commit
57c04fd07c
|
@ -94,7 +94,7 @@ __ASM_GLOBAL_FUNC( alloc_fs_sel,
|
|||
"pushq %rbx\n\t"
|
||||
"pushq %rdi\n\t"
|
||||
"movq %rsp,%rdi\n\t"
|
||||
"movq %gs:0x8,%rsp\n\t" /* NtCurrentTeb()->Tib.StackBase */
|
||||
"movl 0x4(%rdx),%esp\n\t" /* Tib.StackBase */
|
||||
"subl $0x10,%esp\n\t"
|
||||
/* setup modify_ldt struct on 32-bit stack */
|
||||
"movl %ecx,(%rsp)\n\t" /* entry_number */
|
||||
|
|
Loading…
Reference in a new issue