From b7a4f16cc4f7c6bddc312798052a7738db8a5fc2 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Sat, 30 Sep 2017 13:40:55 -0400 Subject: [PATCH] fix previous commit --- std/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 index 319a72d001..29fffca801 100644 --- 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 {