commit | d2ed5cb80a241518dd71f467c884bfabbe15f68c | [log] [tgz] |
---|---|---|
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | Sun Nov 02 09:16:50 2008 +0000 |
committer | Russell King <rmk+kernel@arm.linux.org.uk> | Tue Nov 04 15:02:09 2008 +0000 |
tree | 7c4198411f5fb88151ae3a467ecfdce1d09aaebd | |
parent | a75952b72a0fff3031124003e62118111aed42c1 [diff] |
[ARM] fix VFP+softfloat binaries 2.6.28-rc tightened up the ELF architecture checks on ARM. For non-EABI it only allows VFP if the hardware supports it. However, the kernel fails to also inspect the soft-float flag, so it incorrectly rejects binaries using soft-VFP. The fix is simple: also check that EF_ARM_SOFT_FLOAT isn't set before rejecting VFP binaries on non-VFP hardware. Acked-by: Mikael Pettersson <mikpe@it.uu.se> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>