diff options
author | kettenis <> | 2021-04-19 15:56:37 +0000 |
---|---|---|
committer | kettenis <> | 2021-04-19 15:56:37 +0000 |
commit | 091bc97ac899631cafc4769bfd4b88c5fdda0b4f (patch) | |
tree | 97735977925a3c028776f78544d962b3b8547b07 /src | |
parent | 0c0ff9de06247487175c02cd261632e4199dba0f (diff) | |
download | openbsd-091bc97ac899631cafc4769bfd4b88c5fdda0b4f.tar.gz openbsd-091bc97ac899631cafc4769bfd4b88c5fdda0b4f.tar.bz2 openbsd-091bc97ac899631cafc4769bfd4b88c5fdda0b4f.zip |
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 'src')
-rw-r--r-- | src/regress/lib/libc/setjmp-fpu/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/regress/lib/libc/setjmp-fpu/Makefile b/src/regress/lib/libc/setjmp-fpu/Makefile index e3dd2daa52..203613931a 100644 --- a/src/regress/lib/libc/setjmp-fpu/Makefile +++ b/src/regress/lib/libc/setjmp-fpu/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.5 2020/12/17 00:51:11 bluhm Exp $ | 1 | # $OpenBSD: Makefile,v 1.6 2021/04/19 15:56:37 kettenis Exp $ |
2 | 2 | ||
3 | PROGS= fpu _setjmp setjmp sigsetjmp | 3 | PROGS= fpu _setjmp setjmp sigsetjmp |
4 | 4 | ||
@@ -15,4 +15,12 @@ run-$p: $p | |||
15 | ./$p | 15 | ./$p |
16 | .endfor | 16 | .endfor |
17 | 17 | ||
18 | .if ${MACHINE} == powerpc64 | ||
19 | # The powerpc64 ELFv2 ABI explicitly states that exception enable bits | ||
20 | # and rounding control bits are not restored by longjmp(3) | ||
21 | .for p in ${PROGS:M*jmp} | ||
22 | REGRESS_EXPECTED_FAILURES += run-$p | ||
23 | .endfor | ||
24 | .endif | ||
25 | |||
18 | .include <bsd.regress.mk> | 26 | .include <bsd.regress.mk> |