[<prev] [next>] [day] [month] [year] [list]
Message-ID: <63336.117.114.135.40.1475067982.squirrel@mprc.pku.edu.cn>
Date: Wed, 28 Sep 2016 21:06:22 +0800 (CST)
From: "Xuetao Guan" <gxt@...c.pku.edu.cn>
To: linux-kernel@...r.kernel.org
Cc: linux@...ck-us.net, qinrui@....edu.cn, gxt@...c.pku.edu.cn,
zhangheng@...c.pku.edu.cn
Subject: [PATCHv2 1/4] unicore32-oldabi: add CONFIG_UNICORE32_OLDABI for
distinguishing two ABIs
Signed-off-by: Guan Xuetao <gxt@...c.pku.edu.cn>
Signed-off-by: Qin Rui <qinrui@....edu.cn>
Tested-by: Guenter Roeck <linux@...ck-us.net>
---
arch/unicore32/Kconfig | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/arch/unicore32/Kconfig b/arch/unicore32/Kconfig
index 0769066..e23100b 100644
--- a/arch/unicore32/Kconfig
+++ b/arch/unicore32/Kconfig
@@ -69,6 +69,17 @@ source "kernel/Kconfig.freezer"
menu "System Type"
+config UNICORE32_OLDABI
+ bool "Allow old ABI binaries to run with this kernel"
+ default y
+ help
+ This option preserves the old syscall interface instead of the +
asm-generic one. It also provides a compatibility layer to
+ intercept syscalls that have structure arguments which layout
+ in memory differs between the asm-generic ABI and this old one. +
+ If in doubt, say Y.
+
config MMU
def_bool y
--
1.9.1
Powered by blists - more mailing lists