delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/07/06/16:06:35

Date: 6 Jul 96 22:01:31 +0100
From: Gisle Vanem <Giva AT bbb DOT no>
To: djgpp AT delorie DOT com
Cc: Giva AT bbb DOT no
Subject: Safer exception handling
Message-Id: <9607062201.AA20510@bbb.no>

 
I've been thinking about improving the exception handling stuff in 
djgpp2. An application overwriting `dpmiexcp.c' will of course destroy 
the possibility of graceful program termination. Would it be possible 
to put exception & signal handling in "kernel-space". i.e. allocate a 
descriptor at run-time and copy all the needed kernel code into it?  
How can `ld' be persuaded to put this code at the lowest possible 
offset to save space for the descriptor?
 
Gisle V.
               

- Raw text -


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