diff options
author | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-13 05:46:34 (GMT) |
---|---|---|
committer | Bryan Hundven <bryanhundven@gmail.com> | 2015-11-13 05:46:34 (GMT) |
commit | 377493fc5dfaa483452497bb00988bf7bf258960 (patch) | |
tree | ecd7d897850dca8fdcf4691e7602899cd67eccc7 /patches/uClibc/0.9.30.2/110-arm_fix_alignment.patch | |
parent | 265503461b24eba2c946d6e70c760e530eaba170 (diff) | |
parent | adcf4ec7e606ee4c2269edb47b0409896a017075 (diff) |
Merge pull request #221 from bhundven/uclibc-ng
Add support for uClibc-ng
Diffstat (limited to 'patches/uClibc/0.9.30.2/110-arm_fix_alignment.patch')
-rw-r--r-- | patches/uClibc/0.9.30.2/110-arm_fix_alignment.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/patches/uClibc/0.9.30.2/110-arm_fix_alignment.patch b/patches/uClibc/0.9.30.2/110-arm_fix_alignment.patch deleted file mode 100644 index 1029c34..0000000 --- a/patches/uClibc/0.9.30.2/110-arm_fix_alignment.patch +++ /dev/null @@ -1,25 +0,0 @@ -Original patch from Gentoo. - --= BEGIN original header =- -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 - --= END original header =- - -Modified slightly for uClibc-0.9.30.2 by Joachim Nilsson <jocke@vmlinux.org> - -diff -durN uClibc-0.9.30.orig/ldso/ldso/arm/dl-sysdep.h uClibc-0.9.30/ldso/ldso/arm/dl-sysdep.h ---- uClibc-0.9.30.orig/ldso/ldso/arm/dl-sysdep.h 2008-09-25 10:35:20.000000000 +0200 -+++ uClibc-0.9.30/ldso/ldso/arm/dl-sysdep.h 2009-02-07 09:57:59.000000000 +0100 -@@ -15,6 +15,8 @@ - GOT_BASE[1] = (unsigned long) MODULE; \ - } - -+#define DL_MALLOC_ALIGN 8 /* EABI needs 8 byte alignment for STRD LDRD*/ -+ - static __always_inline unsigned long arm_modulus(unsigned long m, unsigned long p) - { - unsigned long i,t,inc; |