PIC questions
- From: Michael Bushkov <bushman@xxxxxxxxxxx>
- Date: Tue, 31 Oct 2006 12:26:31 +0400
Hi,
I've got 2 questions about PIC.
1. NO_PIC variable. It is defined in several places across the system sources.
As an example:
./lib/libcompat/Makefile:NO_PIC=
./lib/libdisk/Makefile:NO_PIC=
./lib/libstand/Makefile:NO_PIC=
./lib/liby/Makefile:NO_PIC=
What are the reasons for explicitly setting this variable in these libraries?
I mean - as they are static, do we need to explicitly set NO_PIC there?
2. And theoretical question. Does every object that will be linked into the
shared library should be built with PIC enabled?
--
With best regards,
Michael Bushkov
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: PIC questions
- From: Kostik Belousov
- Re: PIC questions
- Prev by Date: Re: [patch] rm can have undesired side-effects
- Next by Date: Re: [patch] rm can have undesired side-effects
- Previous by thread: Email recommendations
- Next by thread: Re: PIC questions
- Index(es):