aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql/convert_test.go
diff options
context:
space:
mode:
authorMichael Hudson-Doyle <michael.hudson@canonical.com>2015-09-23 15:46:00 +1200
committerMichael Hudson-Doyle <michael.hudson@canonical.com>2015-10-06 07:05:51 +0000
commit3e6334e2e059505aa3ebd16185b03f7a9cc88d23 (patch)
treeaf166bf1babf95308e4ef939daf451639c3f3503 /src/database/sql/convert_test.go
parent007ee631d6e0fa27973fd9f40f8fbae98547181a (diff)
downloadgo-3e6334e2e059505aa3ebd16185b03f7a9cc88d23.tar.xz
cmd/link: set the ELF headers of ARM executables that use cgo correctly
It is generally expected that the ELF flags of a dynamically linked executable and the libraries it links against match. Go's linker currently always produces executables with flags that do not declare a float abi (hard, soft) at all, but when cgo is involved it is unlikely that this matches the system libraries being linked against -- really the decision about ABI is made by the C compiler during the invocation of cgo. This change is basically a port of the code from binutils that parses the ".ARM.attributes" section to check for the tag that declares that the code is built for the hard-float ABI. Fixes #7094 Change-Id: I737c8f3b5ed4af545cfc3e86722d03eb83083402 Reviewed-on: https://go-review.googlesource.com/14860 Run-TryBot: Michael Hudson-Doyle <michael.hudson@canonical.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Minux Ma <minux@golang.org>
Diffstat (limited to 'src/database/sql/convert_test.go')
0 files changed, 0 insertions, 0 deletions