aboutsummaryrefslogtreecommitdiff
path: root/src/checker.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2019-12-29 21:28:50 +0000
committergingerBill <bill@gingerbill.org>2019-12-29 21:28:50 +0000
commitf24de51c65b583409c3f9791e4c98968cc6b0277 (patch)
treea2d0524d9ca6bca9affefe6f448937485fd79f64 /src/checker.cpp
parent2252d992d79a39c0c9d1ad0eeb312b6e75195f8f (diff)
Add `_tls_index` and `_fltused` for windows `-no-crt`
Diffstat (limited to 'src/checker.cpp')
-rw-r--r--src/checker.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/checker.cpp b/src/checker.cpp
index 515df72f6..bc98837d1 100644
--- a/src/checker.cpp
+++ b/src/checker.cpp
@@ -1696,7 +1696,8 @@ void generate_minimum_dependency_set(Checker *c, Entity *start) {
str_lit("memcpy"),
str_lit("memmove"),
str_lit("memset"),
- // str_lit("memcmp"),
+ str_lit("_tls_index"),
+ str_lit("_fltused"),
};
for (isize i = 0; i < gb_count_of(required_no_crt_entities); i++) {
add_dependency_to_set(c, scope_lookup(c->info.runtime_package->scope, required_no_crt_entities[i]));