Subject: Re: c++ shared libs on NetBSD/arm32?
To: None <richard.earnshaw@arm.com, port-arm32@netbsd.org>
From: Ignatios Souvatzis <ignatios@cs.uni-bonn.de>
List: port-arm32
Date: 10/19/1999 18:29:30
On Tue, Oct 19, 1999 at 05:25:13PM +0100, Richard Earnshaw wrote:
> > On Tue, Oct 19, 1999 at 05:03:42PM +0100, Richard Earnshaw wrote:
> > > Don't forget that NetBSD/arm32 is using a.out, so it's possible that any 
> > > static constructors in the code aren't getting run.  I'm not sure of the 
> > > details of how NetBSD links/loads shared libs for a.out, but there is 
> > > certainly no special section for handling this as there is in ELF.  
> > > Another reason why we should consider migrating to ELF sometime?
> > 
> > Thanks. Is there a lighter weight workaround? I remember there was a discussion
> > about this somewhere, but can't find the relevant messagee(s).
> > 
> > Regards,
> > 	-is
> 
> 
> Take a look at the way the build system builds libstdc++.so; that contains 
> a .init symbol.

I'll do. Thanks, Richard.
	-is

-- 
 * Progress (n.): The process through which Usenet has evolved from
   smart people in front of dumb terminals to dumb people in front of
   smart terminals.  -- obs@burnout.demon.co.uk (obscurity)