summaryrefslogtreecommitdiff
path: root/libexec/ld.so
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2021-12-14 07:20:17 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2021-12-14 07:20:17 +0000
commitfde4aa84f3ecc19b441ff343ba081e18ffec62ea (patch)
tree5e3e39418d7d2ce462fcb8a3630ffcbe223d10e8 /libexec/ld.so
parent711be184c564cbb3282de94b9501fb709e51d183 (diff)
A better approach is to defined __CONCAT locally
Diffstat (limited to 'libexec/ld.so')
-rw-r--r--libexec/ld.so/sparc64/SYS.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/libexec/ld.so/sparc64/SYS.h b/libexec/ld.so/sparc64/SYS.h
index 403f3c45ef9..2a226c35383 100644
--- a/libexec/ld.so/sparc64/SYS.h
+++ b/libexec/ld.so/sparc64/SYS.h
@@ -1,4 +1,4 @@
-/* $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 $ */
/*
@@ -64,11 +64,12 @@
* 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 ;\