Date: Tue, 9 Nov 1999 21:07:18 +0000 (GMT) From: Doug Rabson <dfr@nlsystems.com> To: Assar Westerlund <assar@sics.se> Cc: Nate Williams <nate@mt.sri.com>, freebsd-hackers@freebsd.org Subject: Re: Using non-PIC code in shared libraries? Message-ID: <Pine.BSF.4.10.9911092106150.25540-100000@salmon.nlsystems.com> In-Reply-To: <5l9048gffg.fsf@assaris.sics.se>
index | next in thread | previous in thread | raw e-mail
On 9 Nov 1999, Assar Westerlund wrote:
> Nate Williams <nate@mt.sri.com> writes:
> > How about the reverse, where you link in PIC compiled libraries into
> > static (.a) libraries? Does this work?
>
> Sure. Look at how lib${LIB}_pic.a is done i <bsd.lib.mk>. PIC-code
> is less efficient than non-PIC code.
True for x86. For alpha, all code is PIC but the extra registers available
reduce the overhead considerably.
--
Doug Rabson Mail: dfr@nlsystems.com
Nonlinear Systems Ltd. Phone: +44 181 442 9037
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.9911092106150.25540-100000>
