Module Name:    src
Committed By:   rin
Date:           Sat Jun 29 06:58:23 UTC 2024

Modified Files:
        src/tests/lib/libc/gen: t_siginfo.c

Log Message:
t_siginfo: sigbus_adraln: Skip for vax

According to "VAX Architecture Handbook", misaligned access does
not trap, although it has performance penalty.


To generate a diff of this commit:
cvs rdiff -u -r1.52 -r1.53 src/tests/lib/libc/gen/t_siginfo.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/gen/t_siginfo.c
diff -u src/tests/lib/libc/gen/t_siginfo.c:1.52 src/tests/lib/libc/gen/t_siginfo.c:1.53
--- src/tests/lib/libc/gen/t_siginfo.c:1.52	Mon May 20 11:21:46 2024
+++ src/tests/lib/libc/gen/t_siginfo.c	Sat Jun 29 06:58:23 2024
@@ -1,4 +1,4 @@
-/* $NetBSD: t_siginfo.c,v 1.52 2024/05/20 11:21:46 riastradh Exp $ */
+/* $NetBSD: t_siginfo.c,v 1.53 2024/06/29 06:58:23 rin Exp $ */
 
 /*-
  * Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -486,7 +486,8 @@ ATF_TC_BODY(sigbus_adraln, tc)
 	 * same for armv8 or newer */
 #if (defined(__m68k__) && !defined(__mc68010__)) || \
     defined(__aarch64__) || \
-    defined(__riscv__)
+    defined(__riscv__) || \
+    defined(__vax__)
 	atf_tc_skip("No SIGBUS signal for unaligned accesses");
 #endif
 

Reply via email to