All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 4/4] m68knommu: allow elf_fdpic loader to be selected
@ 2022-05-12 23:06 Greg Ungerer
  2022-05-12 23:57 ` Greg Ungerer
  0 siblings, 1 reply; 2+ messages in thread
From: Greg Ungerer @ 2022-05-12 23:06 UTC (permalink / raw)
  To: linux-m68k; +Cc: linux-mm, linux-kernel, dalias, Greg Ungerer

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.

Link: https://lore.kernel.org/linux-m68k/20220428033319.239341-1-gerg@linux-m68k.org/
Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
---
 fs/Kconfig.binfmt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

v2: remove superfluous surrounding "(" ")"

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
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH v2 4/4] m68knommu: allow elf_fdpic loader to be selected
  2022-05-12 23:06 [PATCH v2 4/4] m68knommu: allow elf_fdpic loader to be selected Greg Ungerer
@ 2022-05-12 23:57 ` Greg Ungerer
  0 siblings, 0 replies; 2+ messages in thread
From: Greg Ungerer @ 2022-05-12 23:57 UTC (permalink / raw)
  To: linux-m68k; +Cc: linux-mm, linux-kernel, dalias


On 13/5/22 09:06, Greg Ungerer wrote:
> 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.
> 
> Link: https://lore.kernel.org/linux-m68k/20220428033319.239341-1-gerg@linux-m68k.org/
> Signed-off-by: Greg Ungerer <gerg@linux-m68k.org>
> ---
>   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


> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-05-12 23:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-12 23:06 [PATCH v2 4/4] m68knommu: allow elf_fdpic loader to be selected Greg Ungerer
2022-05-12 23:57 ` Greg Ungerer

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.