go/src/cmd/6c
Shenghou Ma dac4c3eee9 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
2012-05-05 01:54:16 +08:00
..
Makefile build: delete make paraphernalia 2012-02-06 13:34:25 -05:00
cgen.c cmd/6c: fix probable code gen bug 2012-04-10 12:51:36 -04:00
div.c various: avoid %ld etc 2010-10-13 16:20:22 -04:00
doc.go tweak documentation of commands 2009-11-09 11:45:15 -08:00
gc.h cmd/cc: add PREFETCH built-in (like SET, USED) 2012-05-02 16:22:56 -04:00
list.c 6c, 8c: show line numbers in -S output 2010-09-10 11:53:51 -04:00
machcap.c move 6c/pgen.c, 6c/pswt.c into cc 2009-07-07 10:07:15 -07:00
mul.c various: avoid %ld etc 2010-10-13 16:20:22 -04:00
peep.c cmd/cc: add PREFETCH built-in (like SET, USED) 2012-05-02 16:22:56 -04:00
reg.c cmd/cc: add PREFETCH built-in (like SET, USED) 2012-05-02 16:22:56 -04:00
sgen.c amd64: use segment memory for thread-local storage 2010-08-04 17:50:22 -07:00
swt.c cmd/cgo, cmd/cc, cmd/ld: detect dynamic linker automatically 2012-05-05 01:54:16 +08:00
txt.c cmd/cc: add PREFETCH built-in (like SET, USED) 2012-05-02 16:22:56 -04:00