]> Cypherpunks repositories - gostls13.git/commit
[dev.cc] runtime: fix bus error accessing auxv random data on arm5
authorDave Cheney <dave@cheney.net>
Fri, 14 Nov 2014 22:57:02 +0000 (09:57 +1100)
committerDave Cheney <dave@cheney.net>
Fri, 14 Nov 2014 22:57:02 +0000 (09:57 +1100)
commit14d23bfd7bd969901f1912131c2a208d34e4b354
tree4115bc3a33c8d693172278413428dd8c8301ce15
parent1f420c13bd693fc94e112927602b75a4da9dbc0f
[dev.cc] runtime: fix bus error accessing auxv random data on arm5

It's rather unsporting of the kernel to give us a pointer to unaligned memory.

This fixes one crash, the next crash occurs in the soft float emulation.

LGTM=minux, rsc, austin
R=minux, rsc, austin
CC=golang-codereviews
https://golang.org/cl/177730043
src/runtime/os_linux_arm.go