m68knommu: allow elf_fdpic loader to be selected
Subsystems (3)
PATCH v2 4/4 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.
--- fs/Kconfig.binfmt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
v2: remove superfluous surrounding "(" ")"
fs/Kconfig.binfmt +1 -1
@@ -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
Signature · 1 line
2.25.1
Quoted 5 lines · Greg Ungerer
The m68k architecture code is capable of supporting the
binfmt_elf_fdpicloader, so allow it to be configured. It is restricted to nommu configurations at this time due to the MMU context structures/code not supporting everythingelf_fdpicneeds when MMU is enabled.
Quoted 7 lines
Signed-off-by Greg Ungerer <[email protected]>--- fs/Kconfig.binfmt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)v2: remove superfluous surrounding "(" ")"
If no one has any objections I can carry this in the m68knommu git tree with the rest of the series.
Regards
Greg
Quoted 13 lines
fs/Kconfig.binfmt +1
-1@@ -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