]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] fix VFP+softfloat binaries
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Sun, 2 Nov 2008 09:16:50 +0000 (09:16 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 4 Nov 2008 15:02:09 +0000 (15:02 +0000)
commitd2ed5cb80a241518dd71f467c884bfabbe15f68c
tree7c4198411f5fb88151ae3a467ecfdce1d09aaebd
parenta75952b72a0fff3031124003e62118111aed42c1
[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>
arch/arm/kernel/elf.c