]> git.pld-linux.org Git - packages/Glide_V3-DRI.git/blob - glide-h3.patch
- rediffed
[packages/Glide_V3-DRI.git] / glide-h3.patch
1 --- glide3x-20010309/h3/glide3/src/makefile.autoconf.am.orig    Tue Jul 31 12:16:45 2001
2 +++ glide3x-20010309/h3/glide3/src/makefile.autoconf.am Tue Jul 31 12:16:37 2001
3 @@ -101,7 +101,7 @@
4  endif
5  
6  if GL_AMD3D
7 -GL_AMD3D_SRC = xtexdl_3dnow.S xdraw2_3dnow.S xdraw3_3dnow.S
8 +GL_AMD3D_SRC = xtexdl_3dnow.S xdraw2_3dnow.S xdraw3_3dnow.S xdraw2_def.S xdraw3_def.S
9  endif
10  
11  VDEFS = $(FX_CHRIS_DENIS_ANTHONY_HACK_VDEFS) \
12 @@ -138,31 +138,30 @@
13  #
14  # Special rules for assembly files.
15  #
16 -xdraw2.o : xdraw2.S xdraw2.inc.S fxgasm.h
17 -       $(CC) $(AFLAGS) -c -o $@ xdraw2.S
18 +xdraw2.lo : xdraw2.S xdraw2.inc.S fxgasm.h
19 +       libtool --mode=compile $(CC) $(AFLAGS) -c -o $@ xdraw2.S
20  
21 -xdraw3.o : xdraw3.S fxgasm.h
22 -       $(CC) $(AFLAGS) -c -o $@ xdraw3.S
23 +xdraw3.lo : xdraw3.S fxgasm.h
24 +       libtool --mode=compile $(CC) $(AFLAGS) -c -o $@ xdraw3.S
25  
26  # 3DNow!(tm) dependencies
27  # XXX_def.obj targets are the default targets
28  
29  if GL_AMD3D
30 -else
31 -xdraw2_def.o: xdraw2.S xdraw2.inc.S fxgasm.h
32 -       $(CC) $(AFLAGS) -c -o $@ xdraw2.S
33 +xdraw2_def.lo: xdraw2.S xdraw2.inc.S fxgasm.h
34 +       libtool --mode=compile $(CC) $(AFLAGS) -c -o $@ xdraw2.S
35  
36 -xdraw2_3dnow.o: xdraw2.S xdraw2.inc.S fxgasm.h
37 -       $(CC) $(AFLAGS) -DGL_AMD3D -DUSE_PACKET_FIFO=1 -c -o $@ xdraw2.S
38 +xdraw2_3dnow.lo: xdraw2.S xdraw2.inc.S fxgasm.h
39 +       libtool --mode=compile $(CC) $(AFLAGS) -DGL_AMD3D -DUSE_PACKET_FIFO=1 -c -o $@ xdraw2.S
40  
41 -xdraw3_def.o: xdraw3.S fxgasm.h
42 -       $(CC) $(AFLAGS) -c -o $@ xdraw3.S
43 +xdraw3_def.lo: xdraw3.S fxgasm.h
44 +       libtool --mode=compile $(CC) $(AFLAGS) -c -o $@ xdraw3.S
45  
46 -xdraw3_3dnow.o: xdraw3.S fxgasm.h
47 -       $(CC) $(AFLAGS) -DGL_AMD3D -DUSE_PACKET_FIFO=1 -c -o $@ xdraw3.S
48 +xdraw3_3dnow.lo: xdraw3.S fxgasm.h
49 +       libtool --mode=compile $(CC) $(AFLAGS) -DGL_AMD3D -DUSE_PACKET_FIFO=1 -c -o $@ xdraw3.S
50  
51 -xtexdl_3dnow.o: xtexdl.S fxgasm.h 
52 -       $(CC) $(AFLAGS) -DGL_AMD3D -DUSE_PACKET_FIFO=1 -c -o $@ xtexdl.S
53 +xtexdl_3dnow.lo: xtexdl.S fxgasm.h 
54 +       libtool --mode=compile $(CC) $(AFLAGS) -DGL_AMD3D -DUSE_PACKET_FIFO=1 -c -o $@ xtexdl.S
55  
56  endif
57  
58 --- glide3x-20010309/h3/glide3/src/xdraw2.inc.S.orig    Fri Oct 20 21:07:00 2000
59 +++ glide3x-20010309/h3/glide3/src/xdraw2.inc.S Fri Aug  3 22:56:46 2001
60 @@ -246,7 +246,7 @@
61         push %edi       /*  save caller's register variable */
62         push %esi       /*  save caller's register variable  */
63  
64 -       mov %edx , gc   /*  gc in edx from caller */
65 +       mov _gc-8(%esp) , gc    /*  gc on stack (NOT!!! in edx) from caller */
66         push %ebx       /*  save caller's register variable */
67  
68         push %ebp       /*  save frame pointer */
This page took 0.089054 seconds and 3 git commands to generate.