summaryrefslogtreecommitdiff
path: root/fs/Kconfig.binfmt
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@linux-m68k.org>2022-04-27 16:42:46 +0300
committerGreg Ungerer <gerg@linux-m68k.org>2022-05-16 06:18:30 +0300
commit782f4c5c44e7d99d89740e272dc5ff84052c036a (patch)
tree258df2f0ec71a7fd8ddf6a25c82a2bb189cacb54 /fs/Kconfig.binfmt
parent67b660b1f7e5611108e05ca97bd387e141fc61b6 (diff)
downloadlinux-782f4c5c44e7d99d89740e272dc5ff84052c036a.tar.xz
m68knommu: allow elf_fdpic loader to be selected
The m68k architecture code is capable of supporting the binfmt_elf_fdpic loader, so allow it to be configured. It is restricted to nommu configurations at this time due to the MMU context structures/code not supporting everything elf_fdpic needs when MMU is enabled. Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
Diffstat (limited to 'fs/Kconfig.binfmt')
-rw-r--r--fs/Kconfig.binfmt2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/Kconfig.binfmt b/fs/Kconfig.binfmt
index 21c6332fa785..fb325b3aa4b0 100644
--- a/fs/Kconfig.binfmt
+++ b/fs/Kconfig.binfmt
@@ -58,7 +58,7 @@ config ARCH_USE_GNU_PROPERTY
config BINFMT_ELF_FDPIC
bool "Kernel support for FDPIC ELF binaries"
default y if !BINFMT_ELF
- depends on (ARM || (SUPERH && !MMU))
+ depends on ARM || ((M68K || SUPERH) && !MMU)
select ELFCORE
help
ELF FDPIC binaries are based on ELF, but allow the individual load