cvs commit: src/lib/libc_r/uthread uthread_create.c uthread_init.c uthread_sig.c

Peter Wemm peter at FreeBSD.org
Tue Dec 2 22:54:42 PST 2003


peter       2003/12/02 22:54:41 PST

  FreeBSD src repository

  Modified files:
    lib/libc_r/uthread   uthread_create.c uthread_init.c 
                         uthread_sig.c 
  Log:
  For the amd64 we need to do some extra stack alignment fixups.  Otherwise
  we can end up with some threads with a non-16-byte-aligned stack.  This
  causes some interesting side effects, including general protection
  faults leading to a SIGBUS when doing floating point or varargs.  This
  should be just a verbose NOP for the other platforms.
  
  Approved by:  re (scottl)
  
  Revision  Changes    Path
  1.38      +8 -3      src/lib/libc_r/uthread/uthread_create.c
  1.46      +8 -2      src/lib/libc_r/uthread/uthread_init.c
  1.46      +11 -1     src/lib/libc_r/uthread/uthread_sig.c


More information about the cvs-src mailing list