delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/03/29/15:31:34

Date: Tue, 29 Mar 1994 22:07:16 +0200
From: Stefan Eckart <S_Eckart AT lis DOT e-technik DOT tu-muenchen DOT de>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: profiling (-pg) problem

The maint4 release contains a modified crt0.s which includes some of
the patches I have suggested a while ago. One of these has not yet been
included, however:

	ljmp	mc_chain /* chain to the next timer vector */

which implicitly uses ds as segment register should be changed to

	ljmp	cs:mc_chain /* chain to the next timer vector */

Without that, I still get sporadic general protection faults from this
instruction, with the following segment register values:

cs:d8 ds:38 es:48 fs:48 gs:38 ss:48

ds is probably wrong.

Bye,

Stefan.
--
stefan AT lis DOT e-technik DOT tu-muenchen DOT de

- Raw text -


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