This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [BUG] ld behavior varies for C++ static initializer depending on .a or .o input
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Hal Black <hablack at vt dot edu>
- Cc: binutils at sources dot redhat dot com
- Date: Fri, 11 Apr 2003 17:46:21 +0930
- Subject: Re: [BUG] ld behavior varies for C++ static initializer depending on .a or .o input
- References: <3E9639F9.9050503@vt.edu>
On Thu, Apr 10, 2003 at 11:43:53PM -0400, Hal Black wrote:
> When linking with a bunch of .o files, the desired behavior (static
> initializers are called) happens. But when linking .a files composed of
> those .o files, static initializers are not called.
See http://sources.redhat.com/ml/binutils/2003-02/msg00155.html
--
Alan Modra
IBM OzLabs - Linux Technology Centre