delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/04/13/17:46:11

Subject: patch for __dpmi_simulate_real_mode_procedure_retf_stack in d0301_s.S
To: djgpp-workers AT delorie DOT com
From: "Nigel Pattinson" <npattinson AT symantec DOT com>
Date: Fri, 14 Apr 2000 10:23:22 +1300
Message-ID: <OF4DE52EC4.6738EF99-ONCC2568C0.0072F5D4@symantec.com>
X-MIMETrack: Serialize by Router on USCU-SMTP02/SYMSMTP(Release 5.0.2b (Intl)|16
December 1999) at 04/13/2000 03:23:23 PM
MIME-Version: 1.0
Reply-To: djgpp-workers AT delorie DOT com

*** src/libc/dpmi/api/d0301_s.S.old      Wed Aug  4 15:58:24 1999
--- src/libc/dpmi/api/d0301_s.S    Thu Apr 13 13:58:46 2000
***************
*** 18,23 ****
--- 18,24 ----

     /* Set up %esi, %edi to copy data to the PM stack. */
     subl %ecx, %esp
+    subl %ecx, %esp
     movl %esp, %edi
     movl ARG3, %esi

***************
*** 37,41 ****

     xorl %eax, %eax

! #define RESTORE_ESP    addl ARG2, %esp       /* comma confuses LEAVEP
macro. */
     LEAVEP(RESTORE_ESP ; popl %es)
--- 38,42 ----

     xorl %eax, %eax

! #define RESTORE_ESP    addl ARG2, %esp      ; addl ARG2, %esp /* comma
confuses LEAVEP macro. */
     LEAVEP(RESTORE_ESP ; popl %es)


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019