Thorsten Glaser
2012-Sep-29 20:18 UTC
[klibc] [PATCH] unbreak armhf shared binaries (those with thumb)
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
maximilian attems
2012-Oct-01 12:57 UTC
[klibc] [PATCH] unbreak armhf shared binaries (those with thumb)
On Sat, 29 Sep 2012, Thorsten Glaser wrote:> 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(-)Thanks, applied and pushed. -- maks