[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)
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>

No differences found