diff options
author | Khem Raj <raj.khem@gmail.com> | 2008-08-21 09:09:38 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2008-08-21 09:09:38 +0000 |
commit | 7b76801adbc8f161fcb5a96b07e7bded66ad6e4e (patch) | |
tree | 5fca58455ad0ccc159c874f9a962cbb9ad993000 /packages/uclibc/uclibc-svn/thumb-defined-arm-or-thumb.patch | |
parent | 3a56781ae85676880a7aaebf2fa389c0b719db6b (diff) |
This patch Does following
1. Adds new recipe for uclibc nptl build. (currently only arm is in)
2. Renames uclibc-cvs to uclibc-svn
3. Revs up the sane rev of svn recipes to tested one.
4. Makes arm_fix_alignment.patch in two versions one for svn and one for 0.9.29 unfortunately changes in svn does not let us apply the 0.9.29 patch on svn cleanly.
-Khem
Diffstat (limited to 'packages/uclibc/uclibc-svn/thumb-defined-arm-or-thumb.patch')
-rw-r--r-- | packages/uclibc/uclibc-svn/thumb-defined-arm-or-thumb.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/packages/uclibc/uclibc-svn/thumb-defined-arm-or-thumb.patch b/packages/uclibc/uclibc-svn/thumb-defined-arm-or-thumb.patch new file mode 100644 index 0000000000..6b73301bf7 --- /dev/null +++ b/packages/uclibc/uclibc-svn/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 |