| ... | @@ -233,7 +233,7 @@ comptime { | ... | @@ -233,7 +233,7 @@ comptime { |
| 233 | @export("__aeabi_dcmpgt", @import("compiler_rt/arm/aeabi_dcmp.zig").__aeabi_dcmpgt, linkage); | 233 | @export("__aeabi_dcmpgt", @import("compiler_rt/arm/aeabi_dcmp.zig").__aeabi_dcmpgt, linkage); |
| 234 | @export("__aeabi_dcmpun", @import("compiler_rt/comparedf2.zig").__unorddf2, linkage); | 234 | @export("__aeabi_dcmpun", @import("compiler_rt/comparedf2.zig").__unorddf2, linkage); |
| 235 | } | 235 | } |
| 236 | if (builtin.os == builtin.Os.windows) { | 236 | if (builtin.os == .windows) { |
| 237 | if (!builtin.link_libc) { | 237 | if (!builtin.link_libc) { |
| 238 | @export("_chkstk", @import("compiler_rt/stack_probe.zig")._chkstk, strong_linkage); | 238 | @export("_chkstk", @import("compiler_rt/stack_probe.zig")._chkstk, strong_linkage); |
| 239 | @export("__chkstk", @import("compiler_rt/stack_probe.zig").__chkstk, strong_linkage); | 239 | @export("__chkstk", @import("compiler_rt/stack_probe.zig").__chkstk, strong_linkage); |
| ... | @@ -247,11 +247,11 @@ comptime { | ... | @@ -247,11 +247,11 @@ comptime { |
| 247 | } | 247 | } |
| 248 | | 248 | |
| 249 | switch (builtin.arch) { | 249 | switch (builtin.arch) { |
| 250 | builtin.Arch.i386 => { | 250 | .i386 => { |
| 251 | @export("_aulldiv", @import("compiler_rt/aulldiv.zig")._aulldiv, strong_linkage); | 251 | @export("_aulldiv", @import("compiler_rt/aulldiv.zig")._aulldiv, strong_linkage); |
| 252 | @export("_aullrem", @import("compiler_rt/aullrem.zig")._aullrem, strong_linkage); | 252 | @export("_aullrem", @import("compiler_rt/aullrem.zig")._aullrem, strong_linkage); |
| 253 | }, | 253 | }, |
| 254 | builtin.Arch.x86_64 => { | 254 | .x86_64 => { |
| 255 | // The "ti" functions must use @Vector(2, u64) parameter types to adhere to the ABI | 255 | // The "ti" functions must use @Vector(2, u64) parameter types to adhere to the ABI |
| 256 | // that LLVM expects compiler-rt to have. | 256 | // that LLVM expects compiler-rt to have. |
| 257 | @export("__divti3", @import("compiler_rt/divti3.zig").__divti3_windows_x86_64, linkage); | 257 | @export("__divti3", @import("compiler_rt/divti3.zig").__divti3_windows_x86_64, linkage); |