diff options
| author | ryo <ryo@NetBSD.org> | 2021-11-26 08:56:28 +0000 |
|---|---|---|
| committer | ryo <ryo@NetBSD.org> | 2021-11-26 08:56:28 +0000 |
| commit | 2ae9167a907095318d4ef88031bd0c2c5fdff053 (patch) | |
| tree | ad9d7367b1fe247ab30cbc61a816983f69357d91 /sys/compat/linux32/common/linux32_exec_elf32.c | |
| parent | 2ce46329e89662a191d5703807211820d16cf823 (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_elf32.c')
| -rw-r--r-- | sys/compat/linux32/common/linux32_exec_elf32.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/compat/linux32/common/linux32_exec_elf32.c b/sys/compat/linux32/common/linux32_exec_elf32.c index fd474094269..247791cc973 100644 --- a/sys/compat/linux32/common/linux32_exec_elf32.c +++ b/sys/compat/linux32/common/linux32_exec_elf32.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_exec_elf32.c,v 1.22 2021/11/25 03:08:04 ryo Exp $ */ +/* $NetBSD: linux32_exec_elf32.c,v 1.23 2021/11/26 08:56:29 ryo Exp $ */ /*- * Copyright (c) 1995, 1998, 2000, 2001,2006 The NetBSD Foundation, Inc. @@ -31,7 +31,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_exec_elf32.c,v 1.22 2021/11/25 03:08:04 ryo Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_exec_elf32.c,v 1.23 2021/11/26 08:56:29 ryo Exp $"); #define ELFSIZE 32 @@ -83,6 +83,9 @@ ELFNAME2(linux32,probe)(struct lwp *l, struct exec_package *epp, #ifdef LINUX32_DEBUGLINK_SIGNATURE ((error = ELFNAME2(linux,debuglink_signature)(l, epp, eh)) != 0) && #endif +#ifdef LINUX32_GO_RT0_SIGNATURE + ((error = ELFNAME2(linux,go_rt0_signature)(l, epp, eh)) != 0) && +#endif 1) return error; |
