diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /packages/glibc/glibc-2.2.5/glibc-2.2.5-ppc405erratum77.patch | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'packages/glibc/glibc-2.2.5/glibc-2.2.5-ppc405erratum77.patch')
-rw-r--r-- | packages/glibc/glibc-2.2.5/glibc-2.2.5-ppc405erratum77.patch | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/packages/glibc/glibc-2.2.5/glibc-2.2.5-ppc405erratum77.patch b/packages/glibc/glibc-2.2.5/glibc-2.2.5-ppc405erratum77.patch deleted file mode 100644 index 7a27bacea1..0000000000 --- a/packages/glibc/glibc-2.2.5/glibc-2.2.5-ppc405erratum77.patch +++ /dev/null @@ -1,65 +0,0 @@ - -# -# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher -# - ---- glibc-2.2.5/sysdeps/powerpc/atomicity.h~glibc-2.2.5-ppc405erratum77.patch 2004-09-03 19:00:33.000000000 -0500 -+++ glibc-2.2.5/sysdeps/powerpc/atomicity.h 2004-09-03 19:00:38.000000000 -0500 -@@ -28,6 +28,17 @@ - # define __ATOMICITY_INLINE inline - #endif - -+#ifdef __PPC405__ -+/* workaround for PPC405 erratum #77 - Mark Hatle, dank. References: -+ http://www-3.ibm.com/chips/techlib/techlib.nsf/techdocs/89DED00DEBFF54BF87256A8000491BA2/$file/405CR_C_errata_1_2.pdf -+ http://ppc.bkbits.net:8080/linuxppc_2_4_devel/cset@1.489 -+ http://www.kegel.com/xgcc3/ppc405erratum77.html -+ FIXME: using dbct instead of sync would be faster */ -+#define __LIBC_PPC405_ERR77_SYNC "sync \n\t" -+#else -+#define __LIBC_PPC405_ERR77_SYNC -+#endif -+ - static __ATOMICITY_INLINE int - __attribute__ ((unused)) - exchange_and_add (volatile uint32_t *mem, int val) -@@ -36,6 +47,7 @@ - __asm__ ("\n\ - 0: lwarx %0,0,%2 \n\ - add%I3 %1,%0,%3 \n\ -+ " __LIBC_PPC405_ERR77_SYNC "\n\ - stwcx. %1,0,%2 \n\ - bne- 0b \n\ - " : "=&b"(result), "=&r"(tmp) : "r" (mem), "Ir"(val) : "cr0", "memory"); -@@ -50,6 +62,7 @@ - __asm__ ("\n\ - 0: lwarx %0,0,%1 \n\ - add%I2 %0,%0,%2 \n\ -+ " __LIBC_PPC405_ERR77_SYNC "\n\ - stwcx. %0,0,%1 \n\ - bne- 0b \n\ - " : "=&b"(tmp) : "r" (mem), "Ir"(val) : "cr0", "memory"); -@@ -65,6 +78,7 @@ - sub%I2c. %0,%0,%2 \n\ - cntlzw %0,%0 \n\ - bne- 1f \n\ -+ " __LIBC_PPC405_ERR77_SYNC "\n\ - stwcx. %3,0,%1 \n\ - bne- 0b \n\ - 1: \n\ -@@ -79,6 +93,7 @@ - long int result; - __asm__ ("\n\ - 0: lwarx %0,0,%1 \n\ -+ " __LIBC_PPC405_ERR77_SYNC "\n\ - stwcx. %2,0,%1 \n\ - bne- 0b \n\ - " : "=&r"(result) : "r"(p), "r"(newval) : "cr0", "memory"); -@@ -94,6 +109,7 @@ - 0: lwarx %0,0,%1 \n\ - cmpwi %0,0 \n\ - bne- 1f \n\ -+ " __LIBC_PPC405_ERR77_SYNC "\n\ - stwcx. %2,0,%1 \n\ - bne- 0b \n\ - 1: \n\ |