Subject: patch for __dpmi_simulate_real_mode_procedure_retf_stack in d0301_s.S To: djgpp-workers AT delorie DOT com From: "Nigel Pattinson" Date: Fri, 14 Apr 2000 10:23:22 +1300 Message-ID: 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 Content-type: text/plain; charset=us-ascii 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)