]> git.baikalelectronics.ru Git - kernel.git/commit
parisc: Switch to generic COMPAT_BINFMT_ELF
authorHelge Deller <deller@gmx.de>
Wed, 11 Apr 2018 07:09:53 +0000 (09:09 +0200)
committerHelge Deller <deller@gmx.de>
Wed, 11 Apr 2018 09:40:35 +0000 (11:40 +0200)
commit5407e5d467b691c17f02ed43cfe425f9e7cac02e
tree12293e0fc6a19226bce734e0826b2f4f95144e50
parent57f2e7af775760a5f13c60be7e93085a9db1a53e
parisc: Switch to generic COMPAT_BINFMT_ELF

Drop our own compat binfmt implementation in
arch/parisc/kernel/binfmt_elf32.c in favour of the generic
implementation with CONFIG_COMPAT_BINFMT_ELF.

While cleaning up the dependencies, I noticed that ELF_PLATFORM was strangely
defined: On a 32-bit kernel, it was defined to "PARISC", while when running in
compat mode on a 64-bit kernel it was defined to "PARISC32". Since it doesn't
seem to be used in glibc yet, it's now defined in both cases to "PARISC". In
any case, it can be distinguished because it's either a 32-bit or a 64-bit ELF
file.

Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/Kconfig
arch/parisc/include/asm/compat.h
arch/parisc/include/asm/elf.h
arch/parisc/kernel/binfmt_elf32.c [deleted file]