Skip to content

Commit c4b0fdf

Browse files
authored
Merge pull request swiftlang#9348 from compnerd/section
builtins: simplify storage section
2 parents bffbbe6 + b55a72b commit c4b0fdf

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

compiler-rt/lib/builtins/cpu_model/aarch64.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,7 @@ typedef struct __ifunc_arg_t {
3030

3131
// LSE support detection for out-of-line atomics
3232
// using HWCAP and Auxiliary vector
33-
#if defined(_MSC_VER)
34-
__declspec(allocate(".data"))
35-
#else
33+
#if !defined(_MSC_VER)
3634
__attribute__((__visibility__("hidden"), __nocommon__))
3735
#endif
3836
_Bool __aarch64_have_lse_atomics = false;

0 commit comments

Comments
 (0)