[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-mips-cvs
Subject: MIPS: Bypass FP mode checks when CONFIG_MIPS_O32_FP64_SUPPORT==n.
From: linux-mips () linux-mips ! org
Date: 2015-04-12 19:27:07
Message-ID: S27010144AbbDLT1JwqpjE/20150412192709Z+211 () eddie ! linux-mips ! org
[Download RAW message or body]
Author: Paul Burton <paul.burton@imgtec.com> Sun Jan 18 21:31:16 2015 -0800
Comitter: Ralf Baechle <ralf@linux-mips.org> Wed Apr 1 10:12:49 2015 +0200
Commit: 027fc817441fc01b88da3cbfa3d57f7c79729a78
Gitweb: http://git.linux-mips.org/g/ralf/linux/027fc817441f
Branch: linux-3.19-stable
The FP mode checks introduced to support the FP modes indicated by the
new PT_MIPS_ABIFLAGS program header & .MIPS.abiflags section have been
found to cause some compatibility issues when mixing binaries with such
mode information & an ELF interpreter without it, or vice-versa[1]. The
mode checks serve little purpose unless the kernel actually supports the
FP64 modes as indicated by CONFIG_MIPS_O32_FP64_SUPPORT, which currently
defaults to disabled & is marked experimental. Bypass the mode checks
when the FP64 support is disabled in order to avoid compatibility issues
with v3.19 until the logic is fixed.
[1]: http://www.linux-mips.org/archives/linux-mips/2015-01/msg00279.html
Signed-off-by: Paul Burton <paul.burton@imgtec.com>
Cc: Manuel Lauss <manuel.lauss@gmail.com>
Cc: Matthew Fortune <Matthew.Fortune@imgtec.com>
Cc: linux-mips@linux-mips.org
Tested-by: Manuel Lauss <manuel.lauss@gmail.com>
Patchwork: https://patchwork.linux-mips.org/patch/9071/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
---
arch/mips/kernel/elf.c | 9 +++++++++
1 file changed, 9 insertions(+)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic