Make minor improvements
- Work towards simplifying ape.S startup process - Rewrote ar because it took minutes to build cosmopolitan.a
This commit is contained in:
@ -1,2 +1,12 @@
|
||||
.include "o/libc/nt/codegen.inc"
|
||||
.imp KernelBase,__imp_GetComputerNameExW,GetComputerNameExW,449
|
||||
|
||||
.text.windows
|
||||
GetComputerNameEx:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov __imp_GetComputerNameExW(%rip),%rax
|
||||
jmp __sysv2nt
|
||||
.endfn GetComputerNameEx,globl
|
||||
.previous
|
||||
|
||||
Reference in New Issue
Block a user