zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit b7a4f16cc4f7c6bddc312798052a7738db8a5fc2 (tree)
parent 53aa72b58a72b5d557488ea6a4ea7e0827445fcd
Author: Andrew Kelley <superjoe30@gmail.com>
Date:   Sat, 30 Sep 2017 13:40:55 -0400

fix previous commit

Diffstat:
Mstd/special/compiler_rt/index.zig | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/std/special/compiler_rt/index.zig b/std/special/compiler_rt/index.zig @@ -98,7 +98,7 @@ export nakedcc fn __aeabi_uidivmod() { @setGlobalLinkage(__aeabi_uidivmod, builtin.GlobalLinkage.Internal); } -export nakedcc fn __chkstk() align 4 { +export nakedcc fn __chkstk() align(4) { @setDebugSafety(this, false); if (comptime builtin.os == builtin.Os.windows) { @@ -132,7 +132,7 @@ export nakedcc fn __chkstk() align 4 { @setGlobalLinkage(__chkstk, builtin.GlobalLinkage.Internal); } -export nakedcc fn ___chkstk_ms() align 4 { +export nakedcc fn ___chkstk_ms() align(4) { @setDebugSafety(this, false); if (comptime builtin.os == builtin.Os.windows) { @@ -160,7 +160,7 @@ export nakedcc fn ___chkstk_ms() align 4 { } } - @setGlobalLinkage(__chkstk, builtin.GlobalLinkage.Internal); + @setGlobalLinkage(___chkstk_ms, builtin.GlobalLinkage.Internal); } export fn __udivmodsi4(a: u32, b: u32, rem: &u32) -> u32 {