vfork.S 369 B

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