This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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]

Re: dynamic libraries: custom _init() without losing default _init()


El Wed, Mar 30, 2005 at 10:24:46AM +0400 Zagorodnev, Grigory ha dit:

> I'm actually surprised that preinit_array disallowed for DSO. 
> 
> Thus you may try to use ".init_array" section in the same manner. That
> works fine for DSO but makes your initialization routine called _after_
> C++ file-scope object constructors. Does the order really matter?

with ".init_array" it works and fits perfectly our needs

thanks a lot!

matze

-- 
              Comunicar bichos a <bug-coreutils@gnu.org>
                     (LANG=es_ES uname --help)

    ( ( ( i ) ) )  http://barcelona.indymedia.org  ( ( ( i ) ) )
                                                                 .''`.
    using free software / Debian GNU/Linux | http://debian.org  : :'  :
                                                                `. `'`
gpg --keyserver keys.indymedia.org --recv-keys B9A88F6F           `-

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]