11.4Sthorpej/* $NetBSD: signal.h,v 1.4 2021/11/05 15:18:18 thorpej Exp $ */
21.3Sthorpej
31.3Sthorpej#ifndef _AARCH64_SIGNAL_H_
41.3Sthorpej#define	_AARCH64_SIGNAL_H_
51.1Smatt
61.1Smatt#include <arm/signal.h>
71.3Sthorpej
81.3Sthorpej#ifdef _KERNEL
91.4Sthorpej/*
101.4Sthorpej * Normally, to support COMPAT_NETBSD32 we need to define
111.4Sthorpej * __HAVE_STRUCT_SIGCONTEXT in order to support the old
121.4Sthorpej * "sigcontext" style of handlers for 32-bit binaries.
131.4Sthorpej * However, we only support 32-bit EABI binaries on AArch64,
141.4Sthorpej * and by happy accident (due to a libc bug introduced in
151.4Sthorpej * 2006), 32-bit NetBSD EABI binaries never used "sigcontext"
161.4Sthorpej * style handlers.  So, we don't need to carry any of this
171.4Sthorpej * baggage forward.
181.4Sthorpej */
191.3Sthorpej#endif /* _KERNEL */
201.3Sthorpej
211.3Sthorpej#endif /* ! _AARCH64_SIGNAL_H_ */
22