[klibc] [klibc:master] arm: unbreak armhf shared binaries ( those with thumb)

klibc-bot for Thorsten Glaser tg at mirbsd.org
Mon Oct 1 06:03:06 PDT 2012


Commit-ID:  62d84fb8793fdf21c5267688de231cc1a111e070
Gitweb:     http://git.kernel.org/?p=libs/klibc/klibc.git;a=commit;h=62d84fb8793fdf21c5267688de231cc1a111e070
Author:     Thorsten Glaser <tg at mirbsd.org>
AuthorDate: Sat, 29 Sep 2012 20:18:48 +0000
Committer:  maximilian attems <max at stro.at>
CommitDate: Mon, 1 Oct 2012 14:55:24 +0200

[klibc] arm: unbreak armhf shared binaries (those with thumb)

The linker command was wrong.

Signed-off-by: Thorsten Glaser <tg at mirbsd.org>
Signed-off-by: maximilian attems <max at stro.at>

---
 usr/klibc/arch/arm/MCONFIG |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

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


More information about the klibc mailing list