summaryrefslogtreecommitdiff
path: root/lib/libm/arch
diff options
context:
space:
mode:
authormortimer <mortimer@cvs.openbsd.org>2018-07-08 12:49:17 +0000
committermortimer <mortimer@cvs.openbsd.org>2018-07-08 12:49:17 +0000
commit54d9f48ff5371401bf5279dcd1703844a35a45ab (patch)
tree363d0762ab074d313c9f3eefc5e858cf99a4757c /lib/libm/arch
parent71df6161874a127bb7b512ca8206516be90e46cd (diff)
Add missing retguard check
ok deraadt
Diffstat (limited to 'lib/libm/arch')
-rw-r--r--lib/libm/arch/amd64/s_cos.S3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libm/arch/amd64/s_cos.S b/lib/libm/arch/amd64/s_cos.S
index 0b85c58bbe9..de43b3b07fc 100644
--- a/lib/libm/arch/amd64/s_cos.S
+++ b/lib/libm/arch/amd64/s_cos.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: s_cos.S,v 1.4 2018/07/03 22:43:34 mortimer Exp $ */
+/* $OpenBSD: s_cos.S,v 1.5 2018/07/08 12:49:16 mortimer Exp $ */
/*
* Written by J.T. Conklin <jtc@NetBSD.org>.
* Public domain.
@@ -17,6 +17,7 @@ ENTRY(cos)
andw $0x400,%ax
jnz 1f
XMM_DOUBLE_EPILOGUE
+ RETGUARD_CHECK(cos, r11)
ret
1: fldpi
fadd %st(0)