libgo: fix for unaligned read in go-unwind.c's read_encoded_value()
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 4 May 2018 14:29:05 +0000 (14:29 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 4 May 2018 14:29:05 +0000 (14:29 +0000)
commit772455c964ec51d034ca32bb2718b239c01a05d2
treedb26776fea6b771c846220928c74b08f5e9380b9
parent71d372eba9d83660d02d03e9f3d6f2872b8bd972
libgo: fix for unaligned read in go-unwind.c's read_encoded_value()

    Change code to work properly reading unaligned data on architectures
    that don't support unaliged reads. This fixes a regression (broke
    Solaris/sparc) introduced in https://golang.org/cl/90235.

    Reviewed-on: https://go-review.googlesource.com/111296

From-SVN: r259935
gcc/go/gofrontend/MERGE
libgo/runtime/go-unwind.c