summaryrefslogtreecommitdiff
path: root/src/syscall/zerrors_linux_ppc64le.go
Commit message (Collapse)AuthorAgeFilesLines
* syscall: add explicit build tagsShenghou Ma2015-05-151-0/+2
| | | | | | | | | | | | | | | | | Auto-generated using the following bash script: for i in z*_*_*.go; do goosgoarch=`basename ${i/${i/_*/}_/} .go` goos=${goosgoarch/_*/} goarch=${goosgoarch/*_/} echo $i $goos $goarch [ "$goos" = "windows" ] && continue sed -i -e "/^package /i\/\/ +build $goarch,$goos\n" "$i" done Change-Id: I756fee551d1698080e4591fed8f058ae0450aaa5 Signed-off-by: Shenghou Ma <minux@golang.org> Reviewed-on: https://go-review.googlesource.com/10113 Reviewed-by: Ian Lance Taylor <iant@golang.org>
* syscall: mkerrors.sh: don't define _FILE_OFFSET_BITS if __LP64__Ian Lance Taylor2015-05-131-2/+2
| | | | | | | | | | | | | | | If __LP64__ is defined then the type "long" is 64-bits, and there is no need to explicitly request _FILE_OFFSET_BITS == 64. This changes the definitions of F_GETLK, F_SETLK, and F_SETLKW on PPC to the values that the kernel requires. The values used in C when _FILE_OFFSET_BITS == 64 are corrected by the glibc fcntl function before making the system call. With this change, regenerate ppc64le files on Ubuntu trusty. Change-Id: I8dddbd8a6bae877efff818f5c5dd06291ade3238 Reviewed-on: https://go-review.googlesource.com/9962 Reviewed-by: Minux Ma <minux@golang.org>
* all: power64 is now ppc64Russ Cox2014-12-051-0/+1902
Fixes #8654. LGTM=austin R=austin CC=golang-codereviews https://golang.org/cl/180600043