asm_linux_386.s 797 B

1234567891011121314151617181920212223242526272829303132333435
  1. // Copyright 2009 The Go Authors. All rights reserved.
  2. // Use of this source code is governed by a BSD-style
  3. // license that can be found in the LICENSE file.
  4. // +build !gccgo
  5. #include "textflag.h"
  6. //
  7. // System calls for 386, Linux
  8. //
  9. // Just jump to package syscall's implementation for all these functions.
  10. // The runtime may know about them.
  11. TEXT ·Syscall(SB),NOSPLIT,$0-28
  12. JMP syscall·Syscall(SB)
  13. TEXT ·Syscall6(SB),NOSPLIT,$0-40
  14. JMP syscall·Syscall6(SB)
  15. TEXT ·RawSyscall(SB),NOSPLIT,$0-28
  16. JMP syscall·RawSyscall(SB)
  17. TEXT ·RawSyscall6(SB),NOSPLIT,$0-40
  18. JMP syscall·RawSyscall6(SB)
  19. TEXT ·socketcall(SB),NOSPLIT,$0-36
  20. JMP syscall·socketcall(SB)
  21. TEXT ·rawsocketcall(SB),NOSPLIT,$0-36
  22. JMP syscall·rawsocketcall(SB)
  23. TEXT ·seek(SB),NOSPLIT,$0-28
  24. JMP syscall·seek(SB)