[klibc] [PATCH] unbreak armhf shared binaries (those with thumb)
Thorsten Glaser
tg at mirbsd.org
Sat Sep 29 13:18:48 PDT 2012
the linker command was wrong
Signed-off-by: Thorsten Glaser <tg at mirbsd.org>
---
usr/klibc/arch/arm/MCONFIG | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/usr/klibc/arch/arm/MCONFIG b/usr/klibc/arch/arm/MCONFIG
index addbe40..53bc1dc 100644
--- a/usr/klibc/arch/arm/MCONFIG
+++ b/usr/klibc/arch/arm/MCONFIG
@@ -19,7 +19,7 @@ ifeq ($(CONFIG_KLIBC_THUMB),y)
CPU_ARCH := $(CPU_ARCH)t
KLIBCREQFLAGS += -mthumb
KLIBCLDFLAGS += --thumb-entry _start
-KLIBCEMAIN = --thumb-entry _start
+KLIBCEMAIN = --thumb-entry main
KLIBCREQFLAGS += -mabi=aapcs-linux
KLIBCSHAREDFLAGS = -Ttext 0x380200
else
--
1.7.10.4
More information about the klibc
mailing list