]> Cypherpunks repositories - gostls13.git/commit
Add -r option to 6l/8l/5l.
authorIan Lance Taylor <iant@golang.org>
Fri, 26 Feb 2010 22:03:52 +0000 (14:03 -0800)
committerIan Lance Taylor <iant@golang.org>
Fri, 26 Feb 2010 22:03:52 +0000 (14:03 -0800)
commite6443f6255ab2850e32cc314e1db4a48fe6c9592
tree9477f48c02fd7268d5915ea2c093b50fac2523e3
parentba50599e4601f77507b63cf5e6ed365d5ef8eb77
Add -r option to 6l/8l/5l.

This permits more flexibility with cgo and swig in cases where
the program is run on a machine other than the one on which it
is built.  Rather than storing the absolute path to the shared
library in the DT_NEEDED entry, we can store just the name,
and let the dynamic linker find it using DT_RUNPATH or the
LD_LIBRARY_PATH environment variable.

R=rsc
CC=golang-dev
https://golang.org/cl/223068
12 files changed:
src/cmd/5l/asm.c
src/cmd/5l/doc.go
src/cmd/5l/l.h
src/cmd/5l/obj.c
src/cmd/6l/asm.c
src/cmd/6l/doc.go
src/cmd/6l/l.h
src/cmd/6l/obj.c
src/cmd/8l/asm.c
src/cmd/8l/doc.go
src/cmd/8l/l.h
src/cmd/8l/obj.c