This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: COLLECT_EXPORT_LIST
- To: Michael Meissner <meissner at cygnus dot com>
- Subject: Re: COLLECT_EXPORT_LIST
- From: Phil Edwards <pedwards at disaster dot jaj dot com>
- Date: Mon, 12 Mar 2001 13:18:22 -0500
- Cc: David Edelsohn <dje at watson dot ibm dot com>, Geoff Keating <geoffk at geoffk dot org>, Zack Weinberg <zackw at Stanford dot EDU>, gcc at gcc dot gnu dot org
- References: <geoffk@geoffk.org> <200103112101.QAA24602@mal-ach.watson.ibm.com> <20010312115624.D5232@cse.cygnus.com>
On Mon, Mar 12, 2001 at 11:56:24AM -0500, Michael Meissner wrote:
> GNU ld does have suppport for aggresive garbage collection these days, though
It's not just aggressive. It's rabid. The last time we tried using
--gc-sections when building libstdc++-v3, text sections for critical
functions like iconv* were being mistakenly removed, causing crashes during
program startup when those functions were called.
I wish the garbage collection service for my apartment was half as aggressive
as the one in GNU ld.
> IIRC, under AIX, the
> compiler always does the equivalent of -ffunction-sections and -fdata-sections
> to allow the GC to work.
Nifty. I wish more compilers did this by default.
Phil
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.