delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2000/06/14/00:05:21

From: "Mark E." <snowball3 AT bigfoot DOT com>
To: djgpp-workers AT delorie DOT com
Date: Wed, 14 Jun 2000 00:05:16 -0400
MIME-Version: 1.0
Subject: Warning patch for exceptn.S
Message-ID: <3946CC3C.15884.2E1AF5@localhost>
X-mailer: Pegasus Mail for Win32 (v3.12c)
Reply-To: djgpp-workers AT delorie DOT com

gas from Binutils 2.10 pre3 warns about a missing '*' for the two ljmp instructions in 
exceptn.S. Here's a patch to hush it up:

Index: djgpp/src/libc/go32/exceptn.S
===================================================================
RCS file: /cvs/djgpp/djgpp/src/libc/go32/exceptn.S,v
retrieving revision 1.5
diff -c -3 -p -r1.5 exceptn.S
*** exceptn.S	2000/05/30 18:14:07	1.5
--- exceptn.S	2000/06/14 04:02:26
*************** Lkbd_chain:
*** 348,354 ****
  	popl	%ds
  	popl	%ebx
  	popl	%eax
! 	ljmp	%cs:___djgpp_old_kbd
  
  	.balign 16,,7
  	.global	___djgpp_kbd_hdlr_pc98
--- 348,354 ----
  	popl	%ds
  	popl	%ebx
  	popl	%eax
! 	ljmp    *%cs:___djgpp_old_kbd
  
  	.balign 16,,7
  	.global	___djgpp_kbd_hdlr_pc98
*************** ___djgpp_timer_hdlr:
*** 400,406 ****
     	.byte	0x2e				/* CS: */
  	testb	$4, ___djgpp_hwint_flags	/* IRET or chain? */
  	jne	2f
! 	ljmp	%cs:___djgpp_old_timer
  2:
  	pushl	%eax
  	movb	$0x20,%al			/* EOI the interrupt */
--- 400,406 ----
     	.byte	0x2e				/* CS: */
  	testb	$4, ___djgpp_hwint_flags	/* IRET or chain? */
  	jne	2f
! 	ljmp    *%cs:___djgpp_old_timer
  2:
  	pushl	%eax
  	movb	$0x20,%al			/* EOI the interrupt */


- Raw text -


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