aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime
diff options
context:
space:
mode:
authorShenghou Ma <minux.ma@gmail.com>2012-05-05 01:54:16 +0800
committerShenghou Ma <minux.ma@gmail.com>2012-05-05 01:54:16 +0800
commitdac4c3eee949ccc395bde808832ab7b2bba370da (patch)
tree928d76836cf0ac156b9f6737574a363f4f6ff023 /src/pkg/runtime
parenta29304bfb8c2b9afc0e0a5d6f7ffd2bfb2b51373 (diff)
downloadgo-dac4c3eee949ccc395bde808832ab7b2bba370da.tar.xz
cmd/cgo, cmd/cc, cmd/ld: detect dynamic linker automatically
Some newer Linux distributions (Ubuntu ARM at least) use a new multiarch directory organization, where dynamic linker is no longer in the hardcoded path in our linker. For example, Ubuntu 12.04 ARM hardfloat places its dynamic linker at /lib/arm-linux-gnueabihf/ld-linux.so.3 Ref: http://lackof.org/taggart/hacking/multiarch/ Also, to support Debian GNU/kFreeBSD as a FreeBSD variant, we need this capability, so it's part of issue 3533. This CL add a new pragma (#pragma dynlinker "path") to cc. R=iant, rsc CC=golang-dev https://golang.org/cl/6086043
Diffstat (limited to 'src/pkg/runtime')
0 files changed, 0 insertions, 0 deletions