This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Apr 11, 2003, Hal Black <hablack at vt dot edu> wrote:
But when linking .a files composed of those .o files, static initializers are not called.
And, if you look closer, you'll notice the object files that contain the initializers aren't linked in at all. Which is perfectly fine, given that no symbols from it are referenced. Maybe you want --whole-archive?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |