mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
425c055116
- Polyfill readlink("foo/") dir check on Windows - Support asynchronous signal delivery on Windows - Restore Windows Console from execve() daisy chain - Work around bug in AARCH64 Optimized Routines memcmp() - Disable unbourne.com shell completion on Windows for now - Don't always set virtual terminal input state on console - Remove Musl Libc's unusual preservation of realpath("//") - Make realpath() strongly link malloc() to pass configure test - Delete cosh.com shell, now that unbourne.com works on Windows!
18 lines
346 B
ArmAsm
18 lines
346 B
ArmAsm
#include "libc/nt/codegen.h"
|
|
.imp kernel32,__imp_InitializeContext,InitializeContext
|
|
|
|
.text.windows
|
|
.ftrace1
|
|
InitializeContext:
|
|
.ftrace2
|
|
#ifdef __x86_64__
|
|
push %rbp
|
|
mov %rsp,%rbp
|
|
mov __imp_InitializeContext(%rip),%rax
|
|
jmp __sysv2nt
|
|
#elif defined(__aarch64__)
|
|
mov x0,#0
|
|
ret
|
|
#endif
|
|
.endfn InitializeContext,globl
|
|
.previous
|