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

David Xu davidxu at FreeBSD.org
Sat Sep 23 06:42:16 PDT 2006


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


More information about the cvs-all mailing list