Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 May 2001 19:13:13 -0700 (PDT)
From:      Daniel Eischen <deischen@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/i386/i386 machdep.c
Message-ID:  <200105060213.f462DDl40830@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
deischen    2001/05/05 19:13:13 PDT

  Modified files:
    sys/i386/i386        machdep.c 
  Log:
  When setting up the frame to invoke a signal handler, preserve the
  %fs and %gs registers instead of setting them to known sane values.
  %fs is going to be used for thread/KSE specific data by the new
  threads library; we'll want it to be valid inside of signal handlers.
  
  According to bde, Linux preserves the state of %fs and %gs when setting
  up signal handlers, so there is precedent for doing this.
  
  The same changes should be made in the Linux emulator, but when made,
  they seem to break (at least one version of) the IBM JDK for Linux
  (reported by drew).
  
  Approved by:	bde
  
  Revision  Changes    Path
  1.448     +1 -3      src/sys/i386/i386/machdep.c


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105060213.f462DDl40830>