-/* $OpenBSD: DEFS.h,v 1.2 2023/12/10 16:45:50 deraadt Exp $ */
+/* $OpenBSD: DEFS.h,v 1.3 2023/12/11 03:05:15 deraadt Exp $ */
/*
* Copyright (c) 2015,2018,2021 Philip Guenther <guenther@openbsd.org>
*
/* ARM just had to be different... */
#ifndef __arm__
# define _FUNC_TYPE @function
+# define _PROGBITS @progbits
#else
# define _FUNC_TYPE #function
+# define _PROGBITS %progbits
#endif
/*
#define _END(x) .size x, . - x
#define PINSYSCALL(sysno, label) \
- .pushsection .openbsd.syscalls,"",@progbits; \
+ .pushsection .openbsd.syscalls,"",_PROGBITS; \
.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 03:05:17 deraadt Exp $ */
/*
* Copyright (c) 2004 Dale Rahn
#include <sys/syscall.h>
#define PINSYSCALL(sysno, label) \
- .pushsection .openbsd.syscalls,"",@progbits ;\
+ .pushsection .openbsd.syscalls,"",%progbits ;\
.long label ;\
.long sysno ;\
.popsection