[parisc-linux] xfree86 build problem

amodra@one.net.au amodra@one.net.au
Sun, 15 Apr 2001 14:12:16 +0930


On Sun, Apr 15, 2001 at 12:41:00AM +0100, Alan Cox wrote:
> > Do other arches allow non-PIC .o's to be linked into a .so lib?
> 
> Generally - yes.

True, but it's not recommended.  The reason being that non-PIC code in
a shared lib will mean lib pages with relocations can't be shared between
processes should the library be loaded at a different virtual addresses.

--
Alan Modra