Date: 6 Jul 96 22:01:31 +0100 From: Gisle Vanem 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.