]>
Commit | Line | Data |
---|---|---|
b79d11f1 JB |
1 | --- glide3x-20010309/h5/glide3/src/makefile.autoconf.am.orig Tue Oct 31 04:25:45 2000 |
2 | +++ glide3x-20010309/h5/glide3/src/makefile.autoconf.am Tue Jul 31 12:34:22 2001 | |
3 | @@ -155,38 +155,32 @@ | |
4 | PREPROCESSOR=/lib/cpp -$$ -I. | |
5 | xdraw2_def.o xdraw2_def.lo: xdraw2.s xdraw2.inc.s fxgasm.h | |
6 | $(PREPROCESSOR) $< > $*.tmp.s | |
7 | - $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s | |
8 | - $(CP) $*.o $*.lo | |
9 | + libtool --mode=compile $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s | |
10 | $(RM) -f $*.tmp.s | |
11 | ||
12 | xdraw2_3dnow.o xdraw2_3dnow.lo: xdraw2.s xdraw2.inc.s fxgasm.h | |
13 | $(PREPROCESSOR) -DGL_AMD3D -DUSE_PACKET_FIFO=1 $< > $*.tmp.s | |
14 | - $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s | |
15 | - $(CP) $*.o $*.lo | |
16 | + libtool --mode=compile $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s | |
17 | $(RM) -f $*.tmp.s | |
18 | ||
19 | xdraw3_def.o xdraw3_def.lo: xdraw3.s fxgasm.h | |
20 | $(PREPROCESSOR) $< > $*.tmp.s | |
21 | - $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s | |
22 | - $(CP) $*.o $*.lo | |
23 | + libtool --mode=compile $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s | |
24 | $(RM) -f $*.tmp.s | |
25 | ||
26 | xdraw3_3dnow.o xdraw3_3dnow.lo: xdraw3.s fxgasm.h | |
27 | $(PREPROCESSOR) -DGL_AMD3D -DUSE_PACKET_FIFO=1 $< > $*.tmp.s | |
28 | - $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s | |
29 | - $(CP) $*.o $*.lo | |
30 | + libtool --mode=compile $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s | |
31 | $(RM) -f $*.tmp.s | |
32 | ||
33 | xtexdl_3dnow.o xtexdl_3dnow.lo: xtexdl.s fxgasm.h | |
34 | $(PREPROCESSOR) -DGL_AMD3D -DUSE_PACKET_FIFO=1 $< > $*.tmp.s | |
35 | - $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s | |
36 | - $(CP) $*.o $*.lo | |
37 | + libtool --mode=compile $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s | |
38 | $(RM) -f $*.tmp.s | |
39 | ||
40 | cpudtect.o cpudtect.lo: cpudtect.s | |
41 | $(PREPROCESSOR) -DUSE_PACKET_FIFO=1 $< > $*.tmp.s | |
42 | - $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s | |
43 | - $(CP) $*.o $*.lo | |
44 | + libtool --mode=compile $(CC) $(AFLAGS) -c -o $*.o $*.tmp.s | |
45 | $(RM) -f $*.tmp.s | |
46 | ||
47 | # | |
48 | @@ -190,7 +190,7 @@ | |
49 | FX_GLIDE_CTRISETUP_SRC = gxdraw.c | |
50 | else | |
51 | if GL_AMD3D | |
52 | -FX_GLIDE_CTRISETUP_SRC = xdraw2_3dnow.s xdraw3_3dnow.s | |
53 | +FX_GLIDE_CTRISETUP_SRC = xdraw2_3dnow.s xdraw3_3dnow.s xtexdl_3dnow.s xdraw2_def.s xdraw3_def.s | |
54 | else | |
55 | FX_GLIDE_CTRISETUP_SRC = xdraw2_def.s xdraw3_def.s | |
56 | endif | |
5b8fa112 JB |
57 | --- glide3x-20010309/h5/glide3/src/xdraw2.inc.s.orig Fri Nov 17 22:31:06 2000 |
58 | +++ glide3x-20010309/h5/glide3/src/xdraw2.inc.s Fri Aug 3 22:55:09 2001 | |
59 | @@ -295,7 +295,7 @@ | |
60 | push %edi /* save caller's register variable */ | |
61 | push %esi /* save caller's register variable */ | |
62 | ||
63 | - mov %edx , gc /* gc in edx from caller */ | |
64 | + mov _gc-8(%esp) , gc /* gc on stack (NOT!!! in edx) from caller */ | |
65 | push %ebx /* save caller's register variable */ | |
66 | ||
67 | push %ebp /* save frame pointer */ |