asm_linux_amd64.s 659 B

123456789101112131415161718192021222324252627
  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. #include "textflag.h"
  5. //
  6. // System calls for AMD64, Linux
  7. //
  8. // Just jump to package syscall's implementation for all these functions.
  9. // The runtime may know about them.
  10. TEXT ·Syscall(SB),NOSPLIT,$0-56
  11. JMP syscall·Syscall(SB)
  12. TEXT ·Syscall6(SB),NOSPLIT,$0-80
  13. JMP syscall·Syscall6(SB)
  14. TEXT ·RawSyscall(SB),NOSPLIT,$0-56
  15. JMP syscall·RawSyscall(SB)
  16. TEXT ·RawSyscall6(SB),NOSPLIT,$0-80
  17. JMP syscall·RawSyscall6(SB)
  18. TEXT ·gettimeofday(SB),NOSPLIT,$0-16
  19. JMP syscall·gettimeofday(SB)