From: Paul Burton Date: Thu, 11 Sep 2014 07:30:22 +0000 (+0100) Subject: MIPS: ELF: Set FP mode according to .MIPS.abiflags X-Git-Tag: omap-for-v3.19/fixes-rc1~122^2~125 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90cee759f08a6b7a8daab9977d3e163ebbcac220;p=pandora-kernel.git MIPS: ELF: Set FP mode according to .MIPS.abiflags This patch reads the .MIPS.abiflags section when it is present, and sets the FP mode of the task accordingly. Any loaded ELF files which do not contain a .MIPS.abiflags section will continue to observe the previous behaviour, that is FR=1 if EF_MIPS_FP64 is set else FR=0. Signed-off-by: Paul Burton Cc: linux-mips@linux-mips.org Cc: Alexander Viro Cc: linux-fsdevel@vger.kernel.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/7681/ Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed