Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 1995 15:42:21 -0400
From:      Garrett Wollman <wollman@halloran-eldar.lcs.mit.edu>
To:        M C Wong <mcw@hpato.aus.hp.com>
Cc:        freebsd-questions@freefall.FreeBSD.org (freebsd-questions@freefall.cdrom.com)
Subject:   g++ collect2 and c'tors symbols ?
Message-ID:  <9508171942.AA03225@halloran-eldar.lcs.mit.edu>
In-Reply-To: <199508170739.AA248395197@hp.com>
References:  <199508170739.AA248395197@hp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Thu, 17 Aug 95 17:39:55 EST, M C Wong <mcw@hpato.aus.hp.com> said:

>     Does anyone know what symbols or pattern (gcc/g++) collect2 look
> for to locate all the constructors ?

gcc/g++ doesn't use collect2 under FreeBSD.  Rather, they emit N_SETT
symbols for the linker sets __CTOR_LIST__ and __DTOR_LIST__.

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9508171942.AA03225>