Global data loaded if symbols aren't resolved

Marcus Clyne maccaday@gmail.com
Sat Aug 15 18:06:00 GMT 2009


Hi,

If a shared object is loaded using dlopen etc and the symbols in its 
object aren't used (specifically they are defined elsewhere already 
inside that process), is the data in the symbols automatically loaded 
into memory or is it skipped (assuming there are no other programs using 
those symbols on the system) and the memory available for other purposes?

Thanks,

Marcus.



More information about the Gcc-help mailing list