From: Frans Meulenbroeks Date: Sun, 13 Aug 2006 17:46:38 +0000 (+0000) Subject: uclibc: added patch to compile uclibc for thumb; patch is from X-Git-Tag: Release-2010-05/1~9453^2~957^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0706ccdb1ad9bf399f08927096900d210aa60037;p=openembedded.git uclibc: added patch to compile uclibc for thumb; patch is from http://busybox.net/lists/uclibc-cvs/2006-January/008903.html --- diff --git a/packages/uclibc/uclibc-0.9.28/dl-startup.h.patch b/packages/uclibc/uclibc-0.9.28/dl-startup.h.patch new file mode 100644 index 0000000000..c4b699f263 --- /dev/null +++ b/packages/uclibc/uclibc-0.9.28/dl-startup.h.patch @@ -0,0 +1,22 @@ +--- uClibc-0.9.28/ldso/ldso/arm/dl-startup.h- 2006-08-13 18:56:40.000000000 +0200 ++++ uClibc-0.9.28/ldso/ldso/arm/dl-startup.h 2006-08-13 18:56:58.000000000 +0200 +@@ -4,8 +4,8 @@ + * Copyright (C) 2000-2004 by Erik Andersen + */ + +-#if defined(__arm__) +-asm( ++#if !defined(__thumb__) ++__asm__( + " .text\n" + " .globl _start\n" + " .type _start,%function\n" +@@ -57,7 +57,7 @@ + ".previous\n" + ); + #else +-asm( ++__asm__( + " .text\n" + " .arm\n" + " .globl _start\n" diff --git a/packages/uclibc/uclibc_0.9.28.bb b/packages/uclibc/uclibc_0.9.28.bb index 6f5d81c9e5..a5d4095a64 100644 --- a/packages/uclibc/uclibc_0.9.28.bb +++ b/packages/uclibc/uclibc_0.9.28.bb @@ -1,5 +1,5 @@ DEFAULT_PREFERENCE = "1" -PR = "r3" +PR = "r4" require uclibc.inc @@ -30,6 +30,7 @@ SRC_URI += " file://thumb-swi-r7.patch;patch=1" SRC_URI += " file://thumb-sysnum-h.patch;patch=1" SRC_URI += " file://thumb-asm-swi.patch;patch=1" SRC_URI += " file://thumb-call-via-rx.patch;patch=1" +SRC_URI += " file://dl-startup.h.patch;patch=1" # # This is a core change and is controversial, maybe even wrong # on some architectures