aboutsummaryrefslogtreecommitdiff
path: root/lib/compiler_rt/floatdisf.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2025-01-25 13:17:25 -0800
committerGitHub <noreply@github.com>2025-01-25 13:17:25 -0800
commit8fa47bb904c888dadf20af5eb72b9643eed2bfea (patch)
tree47fcc20146a7358b4216668d91c78d3bb712511d /lib/compiler_rt/floatdisf.zig
parent015a5e198246f782415586235e0da7085867eb22 (diff)
parentb60e39fe8f50783509e3cfe7a3888e1611b063c1 (diff)
downloadzig-8fa47bb904c888dadf20af5eb72b9643eed2bfea.tar.gz
zig-8fa47bb904c888dadf20af5eb72b9643eed2bfea.zip
Merge pull request #22230 from alexrp/lto-stuff
Disable LTO by default + some LTO fixes
Diffstat (limited to 'lib/compiler_rt/floatdisf.zig')
-rw-r--r--lib/compiler_rt/floatdisf.zig6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/compiler_rt/floatdisf.zig b/lib/compiler_rt/floatdisf.zig
index d1c9515f9a..1cc159ccaa 100644
--- a/lib/compiler_rt/floatdisf.zig
+++ b/lib/compiler_rt/floatdisf.zig
@@ -8,11 +8,7 @@ comptime {
if (common.want_aeabi) {
@export(&__aeabi_l2f, .{ .name = "__aeabi_l2f", .linkage = common.linkage, .visibility = common.visibility });
} else {
- @export(&__floatdisf, .{ .name = "__floatdisf", .linkage = common.linkage, .visibility = common.visibility });
-
- if (common.want_mingw_arm_abi) {
- @export(&__floatdisf, .{ .name = "__i64tos", .linkage = common.linkage, .visibility = common.visibility });
- }
+ @export(&__floatdisf, .{ .name = if (common.want_windows_arm_abi) "__i64tos" else "__floatdisf", .linkage = common.linkage, .visibility = common.visibility });
}
}