diff options
author | Nicolas Pitre <nico@cam.org> | 2006-01-14 11:37:15 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2006-01-14 11:37:15 -0500 |
commit | 6c90c872017773cde70a51432cb28f253451b967 (patch) | |
tree | 18aa18b8804049ef4bd50d00d58493eaf7088e5b /arch/arm | |
parent | 8993a44cede418940a4921de5dc24d52a9fe8767 (diff) |
[ARM] 3112/1: old ABI compat: config option to turn it on
Patch from Nicolas Pitre
Enjoy !
Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/Kconfig | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index cb66b5745fa0..006f09218ae7 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -416,6 +416,23 @@ config AEABI | |||
416 | 416 | ||
417 | To use this you need GCC version 4.0.0 or later. | 417 | To use this you need GCC version 4.0.0 or later. |
418 | 418 | ||
419 | config OABI_COMPAT | ||
420 | bool "Allow old ABI binaries to run with this kernel" | ||
421 | depends on AEABI | ||
422 | default y | ||
423 | help | ||
424 | This option preserves the old syscall interface along with the | ||
425 | new (ARM EABI) one. It also provides a compatibility layer to | ||
426 | intercept syscalls that have structure arguments which layout | ||
427 | in memory differs between the legacy ABI and the new ARM EABI | ||
428 | (only for non "thumb" binaries). This option adds a tiny | ||
429 | overhead to all syscalls and produces a slightly larger kernel. | ||
430 | If you know you'll be using only pure EABI user space then you | ||
431 | can say N here. If this option is not selected and you attempt | ||
432 | to execute a legacy ABI binary then the result will be | ||
433 | UNPREDICTABLE (in fact it can be predicted that it won't work | ||
434 | at all). If in doubt say Y. | ||
435 | |||
419 | config ARCH_DISCONTIGMEM_ENABLE | 436 | config ARCH_DISCONTIGMEM_ENABLE |
420 | bool | 437 | bool |
421 | default (ARCH_LH7A40X && !LH7A40X_CONTIGMEM) | 438 | default (ARCH_LH7A40X && !LH7A40X_CONTIGMEM) |