mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
0e85b136ae
This change pays off technical debt with the function -> DLL mappings in libc/nt/master.sh, which was originally defined based on binary analysis on Windows 10. It's now been updated so the kernel32/kernelbase/advapi32 imports should be exactly as they are written, on the MSDN documentation and that wouldn't have been easy without Geoff Chappell's work thank him https://www.geoffchappell.com/studies/windows/win32/index.htm
12 lines
312 B
ArmAsm
12 lines
312 B
ArmAsm
.include "o/libc/nt/codegen.inc"
|
|
.imp kernel32,__imp_FillConsoleOutputCharacterW,FillConsoleOutputCharacterW,0
|
|
|
|
.text.windows
|
|
FillConsoleOutputCharacter:
|
|
push %rbp
|
|
mov %rsp,%rbp
|
|
.profilable
|
|
mov __imp_FillConsoleOutputCharacterW(%rip),%rax
|
|
jmp __sysv2nt6
|
|
.endfn FillConsoleOutputCharacter,globl
|
|
.previous
|