aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/uclibc/uclibc-git/thumb-defined-arm-or-thumb.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2009-08-01 01:09:33 -0700
committerKhem Raj <raj.khem@gmail.com>2009-08-01 01:09:33 -0700
commit68b24e04cd5fc369b8987aa4741d71f926f90897 (patch)
treeec56e69d4fcc4be3f5238cd3a6c81fa8f55f13a4 /recipes/uclibc/uclibc-git/thumb-defined-arm-or-thumb.patch
parent66d4bf24f07dd62f0028e6a48c87a247259bbbab (diff)
downloadopenembedded-68b24e04cd5fc369b8987aa4741d71f926f90897.tar.gz
uclibc: Convert eligible uclibc recipes to use git instead of svn.
uclibc has changed its SCM system to git. We need to adjust the recipes to fetch from uclibc git Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/uclibc/uclibc-git/thumb-defined-arm-or-thumb.patch')
-rw-r--r--recipes/uclibc/uclibc-git/thumb-defined-arm-or-thumb.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/recipes/uclibc/uclibc-git/thumb-defined-arm-or-thumb.patch b/recipes/uclibc/uclibc-git/thumb-defined-arm-or-thumb.patch
new file mode 100644
index 0000000000..6b73301bf7
--- /dev/null
+++ b/recipes/uclibc/uclibc-git/thumb-defined-arm-or-thumb.patch
@@ -0,0 +1,15 @@
+# in various places defined(__arm__) is used to protect/select code which
+# is ARM specific, that code must also be selected for __thumb__ because
+# __thumb__ is an ARM but __arm__ is not set...
+#
+--- uClibc/ldso/include/dl-string.h.orig 2006-01-19 19:03:42.000000000 -0800
++++ uClibc/ldso/include/dl-string.h 2006-01-19 19:28:15.141758294 -0800
+@@ -276,7 +276,7 @@ static __always_inline char * _dl_simple
+
+ /* On some arches constant strings are referenced through the GOT.
+ * This requires that load_addr must already be defined... */
+-#if defined(mc68000) || defined(__arm__) || defined(__mips__) \
++#if defined(mc68000) || defined(__arm__) || defined(__thumb__) || defined(__mips__) \
+ || defined(__sh__) || defined(__powerpc__)
+ # define CONSTANT_STRING_GOT_FIXUP(X) \
+ if ((X) < (const char *) load_addr) (X) += load_addr