Shared library loading, please help me
matteo.pampolini@seleniacomms.com
matteo.pampolini@seleniacomms.com
Thu Mar 10 15:55:00 GMT 2005
Hello there,
just a stupid question: I noticed that the _init() function of a shared
library is called every time
an app that uses the library is launched, even though the library was
already loaded in memory.
Then, if I have a shared library that must perform some hardware
initialization only once, how
can I check this for example with an "initialized" variable? Because I
verified that every time I
load the library the variable is set to its default value.
Please help me.
Thanks in advance,
Matteo.
More information about the Binutils
mailing list