Skip to content
Commit c7426629 authored by Jonas Gorski's avatar Jonas Gorski Committed by Steve Sakoman
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>
(cherry picked from commit 07b4c7a2)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent ddb998d1
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