diff options
| author | Michael Hudson-Doyle <michael.hudson@canonical.com> | 2015-05-12 11:59:14 +1200 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2015-05-12 00:50:32 +0000 |
| commit | be0cb9224b68d5be4e03fd35396d2c2f0755adad (patch) | |
| tree | 10dbcf186a5e156e05deafda390185b935c86150 /misc/cgo/testshared/test.bash | |
| parent | 64b1aa12b3c9a524179a583da13fa82dd4812559 (diff) | |
| download | go-be0cb9224b68d5be4e03fd35396d2c2f0755adad.tar.xz | |
runtime: fix addmoduledata to follow the platform ABI
addmoduledata is called from a .init_array function and need to follow the
platform ABI. It contains accesses to global data which are rewritten to use
R15 by the assembler, and as R15 is callee-save we need to save it.
Change-Id: I03893efb1576aed4f102f2465421f256f3bb0f30
Reviewed-on: https://go-review.googlesource.com/9941
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'misc/cgo/testshared/test.bash')
| -rwxr-xr-x | misc/cgo/testshared/test.bash | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/misc/cgo/testshared/test.bash b/misc/cgo/testshared/test.bash index 21004adaf8..0b0d0411f7 100755 --- a/misc/cgo/testshared/test.bash +++ b/misc/cgo/testshared/test.bash @@ -78,6 +78,7 @@ ensure_ldd $rootdir/libdep.so $std_install_dir/$soname # And exe that links against both go install -installsuffix="$mysuffix" -linkshared exe +./bin/exe || die "./bin/exe failed with code $?" ensure_ldd ./bin/exe $rootdir/libdep.so ensure_ldd ./bin/exe $std_install_dir/$soname |
