aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.org>2012-09-29 20:18:48 +0000
committermaximilian attems <max@stro.at>2012-10-01 14:55:24 +0200
commit62d84fb8793fdf21c5267688de231cc1a111e070 (patch)
treed06c95ca860c66a8696bd90d4778d1442995d47b
parent9bdffde924573bf1c2f795a4b57a302d9485d248 (diff)
downloadklibc-62d84fb8793fdf21c5267688de231cc1a111e070.tar.gz
[klibc] arm: unbreak armhf shared binaries (those with thumb)
The linker command was wrong. Signed-off-by: Thorsten Glaser <tg@mirbsd.org> Signed-off-by: maximilian attems <max@stro.at>
-rw-r--r--usr/klibc/arch/arm/MCONFIG2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/klibc/arch/arm/MCONFIG b/usr/klibc/arch/arm/MCONFIG
index addbe407599be..53bc1dc3d41f4 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