cvs commit: src/sys/amd64/ia32 ia32_sigtramp.S

From: David Xu <davidxu_at_FreeBSD.org>
Date: Sat, 23 Sep 2006 13:42:09 +0000 (UTC)
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
Received on Sat Sep 23 2006 - 13:42:16 UTC