]> Cypherpunks repositories - gostls13.git/commit
emit dynamically linked 6.out on darwin instead of static,
authorRuss Cox <rsc@golang.org>
Thu, 4 Dec 2008 21:49:45 +0000 (13:49 -0800)
committerRuss Cox <rsc@golang.org>
Thu, 4 Dec 2008 21:49:45 +0000 (13:49 -0800)
commitcfb94254608e8aa83ca589d5cc30dd3d3c64ff26
treec123182c9abfc0a3e33ad2a6e169363045c2d4bd
parent1a19cb8ec03f2a7fa145b0f7790abe46cbfee2e3
emit dynamically linked 6.out on darwin instead of static,
unless given -d flag.

the resulting binary doesn't *use* any dynamic libraries,
it just has a reference to the dynamic linker and an
empty list of needed symbols and libraries.

this is enough to make 6.out binaries that can be run
under dtrace / dtruss.

R=r
DELTA=39  (34 added, 0 deleted, 5 changed)
OCL=20476
CL=20482
src/cmd/6l/asm.c
src/cmd/6l/l.h