>I keep having problems with gcc defining -z text when building shared objects. 
>I understand that having non -pic objects linked into a shared library 
>prevents the text segment containing the non-pic object from being shared. 
>How will this affect performance. From the manual it would seem that only the 
>segment containing the non-pic code would suffer and if no other such 
>segments were in the shared library then setting -z textoff would have no 
>effect and the library would still be shareable?


The "text" segment will not be shared; that's really the only segment
that is generally shared.

Also, runtime fixes to the text segment are done; this slows down startup.

Casper

_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to