dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnet/libffi/src/x86 sysv.S,1.2,1.3 win32.S,1


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnet/libffi/src/x86 sysv.S,1.2,1.3 win32.S,1.2,1.3
Date: Fri, 20 Jun 2003 23:16:06 -0400

Update of /cvsroot/dotgnu-pnet/pnet/libffi/src/x86
In directory subversions:/tmp/cvs-serv21852/libffi/src/x86

Modified Files:
        sysv.S win32.S 
Log Message:


Make the x86 libffi code more robust in the face of callee-pop
winapi conventions.


Index: sysv.S
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/libffi/src/x86/sysv.S,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** sysv.S      6 Feb 2003 01:15:39 -0000       1.2
--- sysv.S      21 Jun 2003 03:16:04 -0000      1.3
***************
*** 60,65 ****
  
        /* Remove the space we pushed for the args  */
!       movl  16(%ebp),%ecx
!       addl  %ecx,%esp
  
        /* Load %ecx with the return type code  */
--- 60,66 ----
  
        /* Remove the space we pushed for the args  */
!       /* Commented out by Rhys -- will cause problems with winapi calls */
!       /*movl  16(%ebp),%ecx
!       addl  %ecx,%esp*/
  
        /* Load %ecx with the return type code  */

Index: win32.S
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnet/libffi/src/x86/win32.S,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** win32.S     6 Feb 2003 01:15:39 -0000       1.2
--- win32.S     21 Jun 2003 03:16:04 -0000      1.3
***************
*** 62,67 ****
   
          # Remove the space we pushed for the args
!         movl  16(%ebp),%ecx
!         addl  %ecx,%esp
   
          # Load %ecx with the return type code
--- 62,68 ----
   
          # Remove the space we pushed for the args
!       # Commented out by Rhys -- will cause problems with winapi calls
!         # movl  16(%ebp),%ecx
!         # addl  %ecx,%esp
   
          # Load %ecx with the return type code





reply via email to

[Prev in Thread] Current Thread [Next in Thread]