Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libc/gen aarch64 does not trap on unaligned acces
details: https://anonhg.NetBSD.org/src/rev/6bf3f90b3660
branches: trunk
changeset: 838633:6bf3f90b3660
user: martin <martin%NetBSD.org@localhost>
date: Sat Jan 26 15:46:27 2019 +0000
description:
aarch64 does not trap on unaligned acces
diffstat:
tests/lib/libc/gen/t_siginfo.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r 32f4965a5962 -r 6bf3f90b3660 tests/lib/libc/gen/t_siginfo.c
--- a/tests/lib/libc/gen/t_siginfo.c Sat Jan 26 15:25:51 2019 +0000
+++ b/tests/lib/libc/gen/t_siginfo.c Sat Jan 26 15:46:27 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_siginfo.c,v 1.33 2019/01/23 17:36:01 martin Exp $ */
+/* $NetBSD: t_siginfo.c,v 1.34 2019/01/26 15:46:27 martin Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -464,8 +464,10 @@
atf_tc_skip("No SIGBUS signal for unaligned accesses");
#endif
- /* m68k (except sun2) never issue SIGBUS (PR lib/49653) */
- if (strcmp(MACHINE_ARCH, "m68k") == 0)
+ /* m68k (except sun2) never issue SIGBUS (PR lib/49653),
+ * same for armv8 or newer */
+ if (strcmp(MACHINE_ARCH, "m68k") == 0 ||
+ strcmp(MACHINE_ARCH, "aarch64") == 0)
atf_tc_skip("No SIGBUS signal for unaligned accesses");
sa.sa_flags = SA_SIGINFO;
Home |
Main Index |
Thread Index |
Old Index