Date: Thu, 4 Feb 1999 11:27:57 -0800 (PST) From: John Polstra <jdp@polstra.com> To: hackers@FreeBSD.ORG Subject: Re: ldconfig and libraries Message-ID: <199902041927.LAA19876@vashon.polstra.com> In-Reply-To: <19990204231738.T28430@rf900.physics.usyd.edu.au> References: <199901311851.KAA07228@vashon.polstra.com> <199902040322.TAA18413@vashon.polstra.com> <36B99FD3.41C67EA6@ics.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In article <19990204231738.T28430@rf900.physics.usyd.edu.au>, David Dawes <dawes@rf900.physics.usyd.edu.au> wrote: > > Having experienced both sides of this, what I think would be good would > be to be able to edit the RPATH in executables. That would allow the > sysadmin to override it selectively. I don't know if that is feasible > or not. That would be useful, but I'm afraid it may not be feasible for executables. The RPATH string is in the .dynstr section, which precedes text, data, and bss in the address space. If you made the string longer, it would change the load addresses of text, data, and bss. But executables don't contain the relocation information needed for making the necessary adjustments in that case. John -- John Polstra jdp@polstra.com John D. Polstra & Co., Inc. Seattle, Washington USA "Nobody ever went broke underestimating the taste of the American public." -- H. L. Mencken To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902041927.LAA19876>