[linux-unicore] [PATCH 1/4] unicore32-oldabi: add CONFIG_UNICORE32_OLDABI for distinguishing two ABIs

  • From: gxt@xxxxxxxxxxxxxxx
  • To: linux-kernel@xxxxxxxxxxxxxxx
  • Date: Fri, 12 Sep 2014 14:25:51 +0800

From: Guan Xuetao <gxt@xxxxxxxxxxxxxxx>

Signed-off-by: Guan Xuetao <gxt@xxxxxxxxxxxxxxx>
Signed-off-by: Qin Rui <qinrui@xxxxxxxxxx>
---
 arch/unicore32/Kconfig | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/arch/unicore32/Kconfig b/arch/unicore32/Kconfig
index 928237a..e5d25b4 100644
--- a/arch/unicore32/Kconfig
+++ b/arch/unicore32/Kconfig
@@ -72,6 +72,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
 
-- 
2.0.0.GIT


Other related posts:

  • » [linux-unicore] [PATCH 1/4] unicore32-oldabi: add CONFIG_UNICORE32_OLDABI for distinguishing two ABIs - gxt