aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/uclibc/uclibc.inc
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-03-20 12:28:27 -0700
committerKhem Raj <raj.khem@gmail.com>2009-03-20 12:28:27 -0700
commit8d0b0994a86b2800363b7d1ab4384bd87fb94f6a (patch)
treeea45aabd41a00c38565bb10340f2fc60bc4414be /recipes/uclibc/uclibc.inc
parenta7b83866a10c1487125720d7583b9f6935ea9e61 (diff)
downloadopenembedded-8d0b0994a86b2800363b7d1ab4384bd87fb94f6a.tar.gz
uclibc: Get uclibc working in thumb mode.
* WARNING!! Do not use bintils 2.19 or 2.19.1 when compiling in thumb mode. The veneer generation does not work as expected. Use binutils 2.18 or binutils_cvs * Move LEAD_SONAME into uclibc.inc * Use no optimizations while compiling ldso.c to over come a gcc ICE * Use ARM mode resolver for thumb mode. The resolver depends on ip register and if we use thumb function for _dl_linux_resolve then it adds a veneer which corrupts ip.
Diffstat (limited to 'recipes/uclibc/uclibc.inc')
-rw-r--r--recipes/uclibc/uclibc.inc7
1 files changed, 2 insertions, 5 deletions
diff --git a/recipes/uclibc/uclibc.inc b/recipes/uclibc/uclibc.inc
index 7470ec18f4..be085ab513 100644
--- a/recipes/uclibc/uclibc.inc
+++ b/recipes/uclibc/uclibc.inc
@@ -2,11 +2,6 @@ DESCRIPTION = "C library for embedded systems"
LICENSE = "LGPL"
SECTION = "libs"
PRIORITY = "required"
-
-# I added the line below before and someone removed, but without fixing thumb support
-# So please leave this in till thumb support has REALLY been fixed. ktnxbye, koen
-ARM_INSTRUCTION_SET = "arm"
-
#
# For now, we will skip building of a gcc package if it is a uclibc one
# and our build is not a uclibc one, and we skip a glibc one if our build
@@ -37,6 +32,8 @@ PARALLEL_MAKE = ""
PACKAGES =+ "ldd uclibc-utils-dbg uclibc-utils uclibc-gconv uclibc-thread-db"
+LEAD_SONAME = "libc.so"
+
# The last line (gdb and lib1) is for uclinux-uclibc builds
uclibc_baselibs = "/lib/libcrypt*.so* /lib/libdl*.so \
/lib/libintl*.so* /lib/libm*.so \