Gentoo Archives: gentoo-commits

From: "Lars Wendler (polynomial-c)" <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/seamonkey/2.0.5: 700-sparc-build.patch
Date: Sat, 26 Jun 2010 12:11:30
Message-Id: 20100626121127.4044E2CF77@corvid.gentoo.org
1 polynomial-c 10/06/26 12:11:27
2
3 Modified: 700-sparc-build.patch
4 Log:
5 Fixed patch...
6
7 Revision Changes Path
8 1.2 src/patchsets/seamonkey/2.0.5/700-sparc-build.patch
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/seamonkey/2.0.5/700-sparc-build.patch?rev=1.2&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/seamonkey/2.0.5/700-sparc-build.patch?rev=1.2&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/seamonkey/2.0.5/700-sparc-build.patch?r1=1.1&r2=1.2
13
14 Index: 700-sparc-build.patch
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/src/patchsets/seamonkey/2.0.5/700-sparc-build.patch,v
17 retrieving revision 1.1
18 retrieving revision 1.2
19 diff -u -r1.1 -r1.2
20 --- 700-sparc-build.patch 26 Jun 2010 11:41:46 -0000 1.1
21 +++ 700-sparc-build.patch 26 Jun 2010 12:11:26 -0000 1.2
22 @@ -1,6 +1,6 @@
23 ---- mozilla/js/src/nanojit/CodeAlloc.cpp
24 -+++ mozilla/js/src/nanojit/CodeAlloc.cpp
25 -@@ -247,8 +247,20 @@
26 +--- mozilla/js/src/nanojit/Assembler.cpp
27 ++++ mozilla/js/src/nanojit/Assembler.cpp
28 +@@ -50,8 +50,20 @@
29 #endif
30
31 #ifdef AVMPLUS_SPARC
32 @@ -10,14 +10,14 @@
33 + caddr_t end = v + len;
34 + caddr_t p = v;
35 + while (p < end) {
36 -+ asm("flush %0" : : "r" (p));
37 -+ p += 32;
38 ++ asm("flush %0" : : "r" (p));
39 ++ p += 32;
40 + }
41 +}
42 +#else
43 - extern "C" void sync_instruction_memory(caddr_t v, u_int len);
44 + extern "C" void sync_instruction_memory(caddr_t v, u_int len);
45 #endif
46 +#endif
47
48 - #if defined NANOJIT_IA32 || defined NANOJIT_X64
49 - // intel chips have dcache/icache interlock
50 \ No newline at end of file
51 + namespace nanojit
52 + {