summaryrefslogtreecommitdiff
path: root/src/runtime/defs_linux_arm.go
Commit message (Collapse)AuthorAgeFilesLines
* [dev.cc] runtime: add explicit siginfo.si_addr fieldAustin Clements2014-11-191-4/+5
| | | | | | | | | | | | | | | struct siginfo_t's si_addr field is part of a union. Previously, we represented this union in Go using an opaque byte array and accessed the si_addr field using unsafe (and wrong on 386 and arm!) pointer arithmetic. Since si_addr is the only field we use from this union, this replaces the opaque byte array with an explicit declaration of the si_addr field and accesses it directly. LGTM=minux, rsc R=rsc, minux CC=golang-codereviews https://codereview.appspot.com/179970044
* [dev.cc] runtime: change set_sec to take int64Russ Cox2014-11-141-2/+2
| | | | | | | | | Fixes build. Tested that all these systems can make.bash. TBR=austin CC=golang-codereviews https://codereview.appspot.com/177770043
* [dev.cc] runtime: fix linux buildRuss Cox2014-11-141-0/+4
| | | | | | TBR=austin CC=golang-codereviews https://codereview.appspot.com/176760044
* [dev.cc] runtime: convert defs_$GOOS_$GOARCH.h to GoRuss Cox2014-11-111-0/+163
The conversion was done with an automated tool and then modified only as necessary to make it compile and run. In a few cases, defs_$GOOS_$GOARCH.go already existed, so the target here is defs1_$GOOS_$GOARCH.go. [This CL is part of the removal of C code from package runtime. See golang.org/s/dev.cc for an overview.] LGTM=r R=r CC=austin, dvyukov, golang-codereviews, iant, khr https://codereview.appspot.com/171490043