mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-01 03:53:33 +00:00
3e4fd4b0ad
This change also pays off some of the remaining technical debt with stdio, file descriptors, and memory managemnt polyfills.
15 lines
273 B
ArmAsm
15 lines
273 B
ArmAsm
.include "o/libc/nt/ntdllimport.inc"
|
|
.ntimp RtlNtStatusToDosError
|
|
|
|
.text.windows
|
|
RtlNtStatusToDosError:
|
|
push %rbp
|
|
mov %rsp,%rbp
|
|
.profilable
|
|
mov %rdi,%rcx
|
|
sub $32,%rsp
|
|
call *__imp_RtlNtStatusToDosError(%rip)
|
|
leave
|
|
ret
|
|
.endfn RtlNtStatusToDosError,globl
|
|
.previous
|