[AArch64] Tighten address register subreg checks
[official-gcc.git] / libgo / go / syscall / syscall_stubs.go
blob00288ee5ea7284a0e538bd210da7f89dcdaf67af
1 // Copyright 2010 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.
5 // +build rtems
7 // These are stubs.
9 package syscall
11 func Syscall(trap, a1, a2, a3 uintptr) (r1, r2, err uintptr) {
12 z := -1
13 return uintptr(z), 0, uintptr(ENOSYS)
16 func Syscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, err uintptr) {
17 z := -1
18 return uintptr(z), 0, uintptr(ENOSYS)
21 func RawSyscall(trap, a1, a2, a3 uintptr) (r1, r2, err uintptr) {
22 z := -1
23 return uintptr(z), 0, uintptr(ENOSYS)
26 func RawSyscall6(trap, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2, err uintptr) {
27 z := -1
28 return uintptr(z), 0, uintptr(ENOSYS)