summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2021-04-19 15:56:38 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2021-04-19 15:56:38 +0000
commit6cadf54aac24f378815a108b5865ce25616d020b (patch)
tree3ee9f5ad13f4b89c16b2072e6472f454897dfb35 /regress
parentf3974ee7ff6d93ac824fb9caa58b2673fa7a73f6 (diff)
The powerpc64 ELFv2 ABI explicitly states that exception enable bits
and rounding control bits are not restored by longjmp(3). So expect the some failures on that platform. ok bluhm@
Diffstat (limited to 'regress')
-rw-r--r--regress/lib/libc/setjmp-fpu/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/regress/lib/libc/setjmp-fpu/Makefile b/regress/lib/libc/setjmp-fpu/Makefile
index e3dd2daa52b..203613931ab 100644
--- a/regress/lib/libc/setjmp-fpu/Makefile
+++ b/regress/lib/libc/setjmp-fpu/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.5 2020/12/17 00:51:11 bluhm Exp $
+# $OpenBSD: Makefile,v 1.6 2021/04/19 15:56:37 kettenis Exp $
PROGS= fpu _setjmp setjmp sigsetjmp
@@ -15,4 +15,12 @@ run-$p: $p
./$p
.endfor
+.if ${MACHINE} == powerpc64
+# The powerpc64 ELFv2 ABI explicitly states that exception enable bits
+# and rounding control bits are not restored by longjmp(3)
+.for p in ${PROGS:M*jmp}
+REGRESS_EXPECTED_FAILURES += run-$p
+.endfor
+.endif
+
.include <bsd.regress.mk>