-/* $OpenBSD: SYS.h,v 1.3 2021/12/14 02:17:39 deraadt Exp $ */
+/* $OpenBSD: SYS.h,v 1.4 2021/12/14 07:20:16 deraadt Exp $ */
/* $NetBSD: rtld_start.S,v 1.5 2001/08/14 22:17:48 eeh Exp $ */
/*
* POSSIBILITY OF SUCH DAMAGE.
*/
-#include <sys/cdefs.h>
#include <sys/syscall.h>
#include <machine/trap.h>
#include <machine/asm.h>
+#define __CONCAT(x,y) x##y
+
#define DL_SYSCALL(n) \
_ENTRY(__CONCAT(_dl_,n)) \
mov __CONCAT(SYS_,n) | SYSCALL_G2RFLAG, %g1 ;\