Skip to content
Commit f8d96f09 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 d1810436
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