[AD] 3.9.32 patch for lcall problem

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


The latest GNU assembler has a tighter syntax again, requiring
an explicit `*' on indirect calls.  This little patch *may* fix
the problem, but I can't test it.  (I was going to do so before
posting it, but that fell through.)

The hitch is that I've been told that my fixes for this problem
in Libnet work, but when I tried compiling `lcall' instructions
with `*' on my machine, they never do.  So, maybe this `fix'
actually breaks the code completely.

George

-- 
Random project update:
27/04/2000: AllegroGL alpha 7 released, fixing silly omission in alpha 6
        http://AllegroGL.sourceforge.net/

--- src/dos/gripfnc.s	2000/05/14 20:17:02	1.1.1.1
+++ src/dos/gripfnc.s	2000/05/16 15:23:55
@@ -19,7 +19,7 @@
 #include "../i386/asmdefs.inc"
 
 
-#define GRIP_CALL             lcall GLOBL(GRIP_Thunk) + 8
+#define GRIP_CALL             lcall *GLOBL(GRIP_Thunk) + 8
 
 
 .extern _GRIP_Thunk


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/