Module Name:    src
Committed By:   riastradh
Date:           Mon Feb 19 12:41:27 UTC 2024

Modified Files:
        src/tests/lib/libc/setjmp: t_sigstack.c

Log Message:
longjmp(3) t_sigstack: Note aarch64 seems to DTRT.

But only by code inspection; it appears to have another problem: on
re-entry, the signal handler is called on the normal stack, not on
the alternate signal stack.

PR lib/57946


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/tests/lib/libc/setjmp/t_sigstack.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/tests/lib/libc/setjmp/t_sigstack.c
diff -u src/tests/lib/libc/setjmp/t_sigstack.c:1.4 src/tests/lib/libc/setjmp/t_sigstack.c:1.5
--- src/tests/lib/libc/setjmp/t_sigstack.c:1.4	Mon Feb 19 12:41:19 2024
+++ src/tests/lib/libc/setjmp/t_sigstack.c	Mon Feb 19 12:41:27 2024
@@ -1,4 +1,4 @@
-/*	$NetBSD: t_sigstack.c,v 1.4 2024/02/19 12:41:19 riastradh Exp $	*/
+/*	$NetBSD: t_sigstack.c,v 1.5 2024/02/19 12:41:27 riastradh Exp $	*/
 
 /*-
  * Copyright (c) 2024 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_sigstack.c,v 1.4 2024/02/19 12:41:19 riastradh Exp $");
+__RCSID("$NetBSD: t_sigstack.c,v 1.5 2024/02/19 12:41:27 riastradh Exp $");
 
 #include <setjmp.h>
 #include <signal.h>
@@ -76,7 +76,7 @@ on_sigusr1(int signo, siginfo_t *si, voi
 	 * On some architectures, this is broken.  Those that appear to
 	 * get this right are:
 	 *
-	 *	alpha, m68k, or1k, powerpc, powerpc64, riscv, vax
+	 *	aarch64, alpha, m68k, or1k, powerpc, powerpc64, riscv, vax
 	 */
 #if defined __arm__ || defined __hppa__ || defined __i386__ || \
     defined __ia64__ || defined __mips__ || defined __sh3__ || \

Reply via email to