diff options
Diffstat (limited to 'dev-lang/mono/files/mono-2.4-ppcbuild-fix.patch')
-rw-r--r-- | dev-lang/mono/files/mono-2.4-ppcbuild-fix.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/dev-lang/mono/files/mono-2.4-ppcbuild-fix.patch b/dev-lang/mono/files/mono-2.4-ppcbuild-fix.patch deleted file mode 100644 index 0668d55d4032..000000000000 --- a/dev-lang/mono/files/mono-2.4-ppcbuild-fix.patch +++ /dev/null @@ -1,23 +0,0 @@ -# From upstream CVS, fixes build on PPC/PPC64 - ---- mono-2-4/mono/libgc/include/private/gc_locks.h 2009/04/10 14:32:31 131471 -+++ mono-2-4/mono/libgc/include/private/gc_locks.h 2009/04/10 14:34:27 131472 -@@ -160,15 +160,15 @@ - int temp = 1; /* locked value */ - - __asm__ __volatile__( -- "1:\tlwarx %0,0,%3\n" /* load and reserve */ -+ "1:\tlwarx %0,0,%1\n" /* load and reserve */ - "\tcmpwi %0, 0\n" /* if load is */ - "\tbne 2f\n" /* non-zero, return already set */ - "\tstwcx. %2,0,%1\n" /* else store conditional */ - "\tbne- 1b\n" /* retry if lost reservation */ - "\tsync\n" /* import barrier */ - "2:\t\n" /* oldval is zero if we set */ -- : "=&r"(oldval), "=p"(addr) -- : "r"(temp), "1"(addr) -+ : "=&r"(oldval) -+ : "r"(addr), "r"(temp) - : "cr0","memory"); - return oldval; - } |