Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Sep 2006 13:42:09 +0000 (UTC)
From:      David Xu <davidxu@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/amd64/ia32 ia32_sigtramp.S
Message-ID:  <200609231342.k8NDg9g7069260@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
davidxu     2006-09-23 13:42:09 UTC

  FreeBSD src repository

  Modified files:
    sys/amd64/ia32       ia32_sigtramp.S 
  Log:
  Stop reloading %fs and %gs, since it causes the base address from
  GDT to be loaded into FS.base and GS.base, these values of course
  are not the values set by sysarch() with I386_SET_FSBASE and
  I386_SET_GSBASE, the change fixed a crash for 32bit libthr after
  signal handler returned and normal code is accessing thread pointer,
  for example: movl %gs:8, %eax.
  
  Revision  Changes    Path
  1.3       +0 -4      src/sys/amd64/ia32/ia32_sigtramp.S



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