summaryrefslogtreecommitdiff
path: root/missing/x86_64-chkstk.S
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-11-18 18:42:22 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-11-18 18:42:22 +0900
commit209164e44f0bd0bbd938bf726e88d0dd29f84d55 (patch)
treee207b9e642ca282903bdbd6db2a406b8af6dbd0b /missing/x86_64-chkstk.S
parent7a9b2039b7b82f081f2cab40a4fbbc8b01231ca4 (diff)
Renamed assembly file like as e64f71f812324d098bed12ed68c2bc1d6e780c90
Diffstat (limited to 'missing/x86_64-chkstk.S')
-rw-r--r--missing/x86_64-chkstk.S10
1 files changed, 10 insertions, 0 deletions
diff --git a/missing/x86_64-chkstk.S b/missing/x86_64-chkstk.S
new file mode 100644
index 0000000000..6d1227b6d2
--- /dev/null
+++ b/missing/x86_64-chkstk.S
@@ -0,0 +1,10 @@
+ .text
+.globl ___chkstk
+___chkstk:
+ pushq %rax
+ movq %rax, %rcx
+ movq %rsp, %rdx
+ call _ruby_alloca_chkstk
+ popq %rax
+ subq %rax, %rsp
+ ret