Skip to content
Commit 07b4c7a2 authored by Jonas Gorski's avatar Jonas Gorski Committed by Richard Purdie
Browse files

linuxloader: add -armhf on arm only for TARGET_FPU 'hard'



There are two types of soft FPU options for arm, soft and softfp, and if
using the latter the wrong dynamic loader will be used.

E.g. go will link against ld-linux-armhf.so.3, but libc6 will only ship
a ld-linux.so.3, so go programs will fail to start.

Fix this by instead checking for TARGET_FPU being 'hard' and then
applying the suffix.

Signed-off-by: default avatarJonas Gorski <jonas.gorski@bisdn.de>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent b1f522cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment