aboutsummaryrefslogtreecommitdiff
path: root/compiler-rt/lib/builtins/x86_64/chkstk.S
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib/builtins/x86_64/chkstk.S')
-rw-r--r--compiler-rt/lib/builtins/x86_64/chkstk.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler-rt/lib/builtins/x86_64/chkstk.S b/compiler-rt/lib/builtins/x86_64/chkstk.S
index ad7953a116ac..494ee261193b 100644
--- a/compiler-rt/lib/builtins/x86_64/chkstk.S
+++ b/compiler-rt/lib/builtins/x86_64/chkstk.S
@@ -18,6 +18,7 @@
.text
.balign 4
DEFINE_COMPILERRT_FUNCTION(___chkstk_ms)
+DEFINE_COMPILERRT_FUNCTION(__chkstk)
push %rcx
push %rax
cmp $0x1000,%rax
@@ -35,6 +36,7 @@ DEFINE_COMPILERRT_FUNCTION(___chkstk_ms)
pop %rax
pop %rcx
ret
+END_COMPILERRT_FUNCTION(__chkstk)
END_COMPILERRT_FUNCTION(___chkstk_ms)
#endif // __x86_64__