cvs commit: src/lib/libc/amd64/sys getcontext.S

Peter Wemm peter at
Wed Sep 3 17:29:13 PDT 2003

peter       2003/09/03 17:29:12 PDT

  FreeBSD src repository

  Modified files:
  Added files:
    lib/libc/amd64/sys   getcontext.S 
  Apply same basic fix for getcontext(2) as for i386.  Store the return
  value for getcontext() in a preserved register rather than on the stack.
  The second time around, the stack value would likely have changed so we
  can't depend on it for the return value.
  Revision  Changes    Path
  1.28      +2 -2      src/lib/libc/amd64/sys/
  1.1       +54 -0     src/lib/libc/amd64/sys/getcontext.S (new)

More information about the cvs-src mailing list