Required for strict-alignment architectures and a good idea on others.
same as kettenis commit to libc
-/* $OpenBSD: SYS.h,v 1.6 2023/12/10 16:45:50 deraadt Exp $ */
+/* $OpenBSD: SYS.h,v 1.7 2023/12/11 22:29:23 deraadt Exp $ */
/*
* Copyright (c) 2016 Dale Rahn
#define PINSYSCALL(sysno, label) \
.pushsection .openbsd.syscalls,"",@progbits ;\
+ .p2align 2 ;\
.long label ;\
.long sysno ;\
.popsection
-/* $OpenBSD: SYS.h,v 1.4 2023/12/10 16:45:50 deraadt Exp $ */
+/* $OpenBSD: SYS.h,v 1.5 2023/12/11 22:29:24 deraadt Exp $ */
/*
* Copyright (c) 2001 Niklas Hallqvist
#define PINSYSCALL(sysno, label) \
.pushsection .openbsd.syscalls,"",@progbits ;\
+ .p2align 2 ;\
.long label ;\
.long sysno ;\
.popsection
-/* $OpenBSD: SYS.h,v 1.4 2023/12/10 16:45:50 deraadt Exp $ */
+/* $OpenBSD: SYS.h,v 1.5 2023/12/11 22:29:24 deraadt Exp $ */
/*
* Copyright (c) 2002,2004 Dale Rahn
#define PINSYSCALL(sysno, label) \
.pushsection .openbsd.syscalls,"",@progbits ;\
+ .p2align 2 ;\
.long label ;\
.long sysno ;\
.popsection
-/* $OpenBSD: SYS.h,v 1.5 2023/12/11 03:05:17 deraadt Exp $ */
+/* $OpenBSD: SYS.h,v 1.6 2023/12/11 22:29:24 deraadt Exp $ */
/*
* Copyright (c) 2004 Dale Rahn
#define PINSYSCALL(sysno, label) \
.pushsection .openbsd.syscalls,"",%progbits ;\
+ .p2align 2 ;\
.long label ;\
.long sysno ;\
.popsection
-/* $OpenBSD: SYS.h,v 1.2 2023/12/10 16:45:50 deraadt Exp $ */
+/* $OpenBSD: SYS.h,v 1.3 2023/12/11 22:29:24 deraadt Exp $ */
/*
* Copyright (c) 2004 Michael Shalayeff
#define PINSYSCALL(sysno, label) \
.pushsection .openbsd.syscalls,"",@progbits !\
+ .p2align 2 !\
.long label !\
.long sysno !\
.popsection
-/* $OpenBSD: SYS.h,v 1.2 2023/12/10 16:45:50 deraadt Exp $ */
+/* $OpenBSD: SYS.h,v 1.3 2023/12/11 22:29:24 deraadt Exp $ */
/*
* Copyright (c) 2002 Dale Rahn
#define PINSYSCALL(sysno, label) \
.pushsection .openbsd.syscalls,"",@progbits ;\
+ .p2align 2 ;\
.long label ;\
.long sysno ;\
.popsection
-/* $OpenBSD: SYS.h,v 1.5 2023/12/10 16:45:50 deraadt Exp $ */
+/* $OpenBSD: SYS.h,v 1.6 2023/12/11 22:29:24 deraadt Exp $ */
/*
* Copyright (c) 2013 Miodrag Vallat.
#define PINSYSCALL(sysno, label) \
.pushsection .openbsd.syscalls,"",@progbits ;\
+ .p2align 2 ;\
.long label ;\
.long sysno ;\
.popsection
-/* $OpenBSD: SYS.h,v 1.2 2023/12/10 16:45:50 deraadt Exp $ */
+/* $OpenBSD: SYS.h,v 1.3 2023/12/11 22:29:24 deraadt Exp $ */
/*
* Copyright (c) 1998-2002 Opsycon AB, Sweden.
#define PINSYSCALL(sysno, label) \
.pushsection .openbsd.syscalls,"",@progbits ;\
+ .p2align 2 ;\
.long label ;\
.long sysno ;\
.popsection
-/* $OpenBSD: SYS.h,v 1.5 2023/12/10 16:45:50 deraadt Exp $ */
+/* $OpenBSD: SYS.h,v 1.6 2023/12/11 22:29:24 deraadt Exp $ */
/*
* Copyright (c) 1999 Dale Rahn
#define PINSYSCALL(sysno, label) \
.pushsection .openbsd.syscalls,"",@progbits ;\
+ .p2align 2 ;\
.long label ;\
.long sysno ;\
.popsection
-/* $OpenBSD: SYS.h,v 1.3 2023/12/10 16:45:50 deraadt Exp $ */
+/* $OpenBSD: SYS.h,v 1.4 2023/12/11 22:29:24 deraadt Exp $ */
/*
* Copyright (c) 1999 Dale Rahn
#define PINSYSCALL(sysno, label) \
.pushsection .openbsd.syscalls,"",@progbits ;\
+ .p2align 2 ;\
.long label ;\
.long sysno ;\
.popsection
-/* $OpenBSD: SYS.h,v 1.2 2023/12/10 16:45:50 deraadt Exp $ */
+/* $OpenBSD: SYS.h,v 1.3 2023/12/11 22:29:25 deraadt Exp $ */
/*
* Copyright (c) 2016 Dale Rahn <drahn@openbsd.org>
#define PINSYSCALL(sysno, label) \
.pushsection .openbsd.syscalls,"",@progbits ;\
+ .p2align 2 ;\
.long label ;\
.long sysno ;\
.popsection
-/* $OpenBSD: SYS.h,v 1.3 2023/12/10 16:45:50 deraadt Exp $ */
+/* $OpenBSD: SYS.h,v 1.4 2023/12/11 22:29:25 deraadt Exp $ */
/*
* Copyright (c) 2006 Dale Rahn
#define PINSYSCALL(sysno, label) \
.pushsection .openbsd.syscalls,"",@progbits ;\
+ .p2align 2 ;\
.long label ;\
.long sysno ;\
.popsection
-/* $OpenBSD: SYS.h,v 1.5 2023/12/10 16:45:50 deraadt Exp $ */
+/* $OpenBSD: SYS.h,v 1.6 2023/12/11 22:29:25 deraadt Exp $ */
/* $NetBSD: rtld_start.S,v 1.5 2001/08/14 22:17:48 eeh Exp $ */
/*
#define PINSYSCALL(sysno, label) \
.pushsection .openbsd.syscalls,"",@progbits ;\
+ .p2align 2 ;\
.long label ;\
.long sysno ;\
.popsection