mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-06 19:28:29 +00:00
Trim down MODE= linkage slightly
This commit is contained in:
parent
046c7ebd4a
commit
c95c9d9508
13 changed files with 315 additions and 283 deletions
|
@ -1,2 +1,15 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp kernel32,__imp_SetDefaultDllDirectories,SetDefaultDllDirectories,0
|
||||
|
||||
.text.windows
|
||||
SetDefaultDllDirectories:
|
||||
push %rbp
|
||||
mov %rsp,%rbp
|
||||
.profilable
|
||||
mov %rdi,%rcx
|
||||
sub $32,%rsp
|
||||
call *__imp_SetDefaultDllDirectories(%rip)
|
||||
leave
|
||||
ret
|
||||
.endfn SetDefaultDllDirectories,globl
|
||||
.previous
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
.include "o/libc/nt/codegen.inc"
|
||||
.imp kernel32,__imp_SetLastError,SetLastError,1336
|
||||
.imp kernel32,__imp_SetLastError,SetLastError,0
|
||||
|
||||
.text.windows
|
||||
SetLastError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue