Subject: Re: libtool and sparc/1.4
To: None <Havard.Eidnes@runit.sintef.no>
From: Todd Vierling <tv@wasabisystems.com>
List: port-sparc
Date: 08/24/2000 16:55:25
On Thu, 24 Aug 2000 Havard.Eidnes@runit.sintef.no wrote:

: However, I think that libstdc++ also needs to be compiled -fPIC
: in that case, since for some reason it includes c++rt0.o on
: a.out,

Because libstdc++ has global/static constructors and destructors in it.

: (I'm still a little uncertain whether all shared libs used by an
: executable on sparc/a.out needs to use the same the same relocation --
: maybe not.)

No.  Only the objects linked into a single shared objects require the same
pic reloc size.

-- 
-- Todd Vierling <tv@wasabisystems.com>  *  http://www.wasabisystems.com/
-- Speed, stability, security, and support.  Wasabi NetBSD:  Run with it.