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/8f972d7251dc
branches: trunk
changeset: 996251:8f972d7251dc
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 006d180e568c -r 8f972d7251dc 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