vfork.S 322 B

123456789101112131415161718
  1. /*
  2. * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  3. */
  4. #include <sys/syscall.h>
  5. .text
  6. .global ___vfork
  7. .hidden ___vfork
  8. .type ___vfork,STT_FUNC;
  9. .align 4
  10. ___vfork:
  11. p0 = __NR_vfork;
  12. excpt 0;
  13. rts;
  14. .size ___vfork,.-___vfork
  15. weak_alias(__vfork,vfork)
  16. libc_hidden_weak(vfork)