Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.kei.com!news.mathworks.com!fu-berlin.de!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news From: j@uriah.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: ELF Date: 26 Dec 1995 14:28:48 GMT Organization: Private BSD site, Dresden Lines: 17 Message-ID: <4bp0r1$8q4@uriah.heep.sax.de> References: <4avq5m$7rk@complete.org> <4bghlm$7q3@pell.pell.chi.il.us> <4bn4i7$g0j@helena.mt.net> <4bnf2d$lhr@news.nynexst.com> Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) NNTP-Posting-Host: localhost.heep.sax.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Newsreader: knews 0.9.3 hjl@gnu.ai.mit.edu (H.J. Lu) writes: > I am not sure if that is true for building the shared C++ library. > Under ELF, you don't have to do anything special to your C++ source > to make file-scope constructors/destructors work with shared library. > They even work with dlopen/dlclose. That's certainly one of the more interesting features of ELF. As well as the ability to handle different text or data sections. The latter seems to be useful when it comes to allow for pageable kernel text or data regions. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-)