From owner-freebsd-questions Thu Aug 17 12:45:15 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id MAA04089 for questions-outgoing; Thu, 17 Aug 1995 12:45:15 -0700 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.FreeBSD.org (8.6.11/8.6.6) with SMTP id MAA04080 for ; Thu, 17 Aug 1995 12:45:08 -0700 Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.3.6) id AA03225; Thu, 17 Aug 1995 15:42:21 -0400 Date: Thu, 17 Aug 1995 15:42:21 -0400 From: Garrett Wollman Message-Id: <9508171942.AA03225@halloran-eldar.lcs.mit.edu> To: M C Wong Cc: freebsd-questions@freefall.FreeBSD.org (freebsd-questions@freefall.cdrom.com) Subject: g++ collect2 and c'tors symbols ? In-Reply-To: <199508170739.AA248395197@hp.com> References: <199508170739.AA248395197@hp.com> Sender: questions-owner@FreeBSD.org Precedence: bulk < 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