mirror of
https://github.com/ziglang/zig.git
synced 2025-12-08 15:23:14 +00:00
also start prefering NtDll API. so far: * NtQueryInformationFile * NtClose adds a performance workaround for windows unicode conversion. but that should probably be removed before merging
22 lines
299 B
ArmAsm
Vendored
22 lines
299 B
ArmAsm
Vendored
.section .init
|
|
.global _init
|
|
.type _init, @function
|
|
_init:
|
|
add #-4, r15
|
|
mov.l r12, @-r15
|
|
mov.l r14, @-r15
|
|
sts.l pr, @-r15
|
|
mov r15, r14
|
|
nop
|
|
|
|
.section .fini
|
|
.global _fini
|
|
.type _fini, @function
|
|
_fini:
|
|
add #-4, r15
|
|
mov.l r12, @-r15
|
|
mov.l r14, @-r15
|
|
sts.l pr, @-r15
|
|
mov r15, r14
|
|
nop
|