mirror of
https://github.com/golang/go
synced 2024-11-21 22:14:41 -07:00
arm: fix build
previous version was built with -l32; should be -b32 R=ken CC=golang-dev https://golang.org/cl/3867044
This commit is contained in:
parent
a6820b65cb
commit
80055c658b
@ -1,4 +1,4 @@
|
||||
// mksyscall.sh -l32 syscall_linux.go syscall_linux_arm.go
|
||||
// mksyscall.sh -b32 syscall_linux.go syscall_linux_arm.go
|
||||
// MACHINE GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
|
||||
|
||||
package syscall
|
||||
@ -209,7 +209,7 @@ func Faccessat(dirfd int, path string, mode uint32, flags int) (errno int) {
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func Fallocate(fd int, mode uint32, off int64, len int64) (errno int) {
|
||||
_, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off), uintptr(off>>32), uintptr(len), uintptr(len>>32))
|
||||
_, _, e1 := Syscall6(SYS_FALLOCATE, uintptr(fd), uintptr(mode), uintptr(off>>32), uintptr(off), uintptr(len>>32), uintptr(len))
|
||||
errno = int(e1)
|
||||
return
|
||||
}
|
||||
@ -604,7 +604,7 @@ func Sysinfo(info *Sysinfo_t) (errno int) {
|
||||
|
||||
func Tee(rfd int, wfd int, len int, flags int) (n int64, errno int) {
|
||||
r0, r1, e1 := Syscall6(SYS_TEE, uintptr(rfd), uintptr(wfd), uintptr(len), uintptr(flags), 0, 0)
|
||||
n = int64(int64(r1)<<32 | int64(r0))
|
||||
n = int64(int64(r0)<<32 | int64(r1))
|
||||
errno = int(e1)
|
||||
return
|
||||
}
|
||||
@ -881,7 +881,7 @@ func Fstatfs(fd int, buf *Statfs_t) (errno int) {
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func Ftruncate(fd int, length int64) (errno int) {
|
||||
_, _, e1 := Syscall(SYS_FTRUNCATE64, uintptr(fd), uintptr(length), uintptr(length>>32))
|
||||
_, _, e1 := Syscall(SYS_FTRUNCATE64, uintptr(fd), uintptr(length>>32), uintptr(length))
|
||||
errno = int(e1)
|
||||
return
|
||||
}
|
||||
@ -1043,7 +1043,7 @@ func Statfs(path string, buf *Statfs_t) (errno int) {
|
||||
// THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT
|
||||
|
||||
func Truncate(path string, length int64) (errno int) {
|
||||
_, _, e1 := Syscall(SYS_TRUNCATE64, uintptr(unsafe.Pointer(StringBytePtr(path))), uintptr(length), uintptr(length>>32))
|
||||
_, _, e1 := Syscall(SYS_TRUNCATE64, uintptr(unsafe.Pointer(StringBytePtr(path))), uintptr(length>>32), uintptr(length))
|
||||
errno = int(e1)
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user