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 _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "[EMAIL PROTECTED]"