summaryrefslogtreecommitdiff
path: root/community/cpuburn/cpuburn.patch
blob: 4bcd978b7b5f0e425ddaa7522558661dc59c77f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
--- cpuburn-1.4.orig/burnP6.S
+++ cpuburn-1.4/burnP6.S
@@ -69,6 +69,7 @@
 	push	%eax		# *BSD syscall
 	int	$0x80
 #endif
+.data				# Data allocation
 .align 32,0
 half:	.long 0x7fffffff,0
 e:	.long 0xffffffff,0x3fdfffff
--- cpuburn-1.4.orig/burnK6.S
+++ cpuburn-1.4/burnK6.S
@@ -68,6 +68,7 @@
 	push	%eax
 	int	$0x80
 #endif
+.data				# Data allocation
 .align 32,0
 half:	.long 0x7fffffff,0
 e:	.long 0xffffffff,0x3fdfffff
--- cpuburn-1.4.orig/Makefile
+++ cpuburn-1.4/Makefile
@@ -1,3 +1,3 @@
 all : burnP5 burnP6 burnK6 burnK7 burnBX burnMMX
 .S:
-	gcc -s -nostdlib -o $@ $<
+	gcc -m32 -s -nostdlib -o $@ $<
--- cpuburn-1.4.orig/burnK7.S
+++ cpuburn-1.4/burnK7.S
@@ -74,10 +74,9 @@
 	push	%eax
 	int	$0x80
 #endif
+.data				# Data allocation
 .align 32,0
 	.fill 64
 half:	.long 0x7fffffff,0
 e:	.long 0xffffffff,0x3fdfffff
 rt:	.long 0xffffffff,0x3fefffff
-
-