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-0.9.29 | |
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-0.9.29')
-rw-r--r-- | packages/uclibc/uclibc-0.9.29/arm_fix_alignment.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/packages/uclibc/uclibc-0.9.29/arm_fix_alignment.patch b/packages/uclibc/uclibc-0.9.29/arm_fix_alignment.patch new file mode 100644 index 0000000000..3a059021a7 --- /dev/null +++ b/packages/uclibc/uclibc-0.9.29/arm_fix_alignment.patch @@ -0,0 +1,19 @@ +ARMV5 can use STRD and LDRD access instructions but these accesses need to be +8 byte aligned. The dynamic linker's malloc needs to match this so structures +become 8 byte aligned to void unaligned accesses. + +RP - 14/02/2008 + +Index: uClibc-0.9.29/ldso/ldso/arm/dl-sysdep.h +=================================================================== +--- uClibc-0.9.29.orig/ldso/ldso/arm/dl-sysdep.h 2008-02-14 00:58:12.000000000 +0000 ++++ uClibc-0.9.29/ldso/ldso/arm/dl-sysdep.h 2008-02-14 00:59:19.000000000 +0000 +@@ -15,6 +15,8 @@ + GOT_BASE[1] = (unsigned long) MODULE; \ + } + ++#define DL_MALLOC_ALIGN 8 /* EABI needs 8 byte alignment for STRD LDRD*/ ++ + static inline unsigned long arm_modulus(unsigned long m, unsigned long p) + { + unsigned long i,t,inc; |