summaryrefslogtreecommitdiff
path: root/sys/compat/linux32/common/linux32_exec.h
diff options
context:
space:
mode:
authorryo <ryo@NetBSD.org>2021-11-26 08:56:28 +0000
committerryo <ryo@NetBSD.org>2021-11-26 08:56:28 +0000
commit2ae9167a907095318d4ef88031bd0c2c5fdff053 (patch)
treead9d7367b1fe247ab30cbc61a816983f69357d91 /sys/compat/linux32/common/linux32_exec.h
parent2ce46329e89662a191d5703807211820d16cf823 (diff)
- LINUX_GO_RT0_SIGNATURE for compat_linux is no longer enabled by default.
it is now defined in each arch same as the other *_SIGNATURE definitions. - add new LINUX32_GO_RT0_SIGNATURE for compat_linux32, and is defined in amd64 and aarch64.
Diffstat (limited to 'sys/compat/linux32/common/linux32_exec.h')
-rw-r--r--sys/compat/linux32/common/linux32_exec.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/compat/linux32/common/linux32_exec.h b/sys/compat/linux32/common/linux32_exec.h
index 2954b1e80b0..ba33046e91c 100644
--- a/sys/compat/linux32/common/linux32_exec.h
+++ b/sys/compat/linux32/common/linux32_exec.h
@@ -1,4 +1,4 @@
-/* $NetBSD: linux32_exec.h,v 1.8 2021/11/25 03:08:04 ryo Exp $ */
+/* $NetBSD: linux32_exec.h,v 1.9 2021/11/26 08:56:29 ryo Exp $ */
/*-
* Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved.
@@ -67,6 +67,10 @@ int linux_elf32_debuglink_signature(struct lwp *l,
int linux_elf32_atexit_signature(struct lwp *l,
struct exec_package *, Elf32_Ehdr *);
#endif
+#ifdef LINUX32_GO_RT0_SIGNATURE
+int linux_elf32_go_rt0_signature(struct lwp *l,
+ struct exec_package *, Elf32_Ehdr *);
+#endif
#endif /* EXEC_ELF32 */