This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: COLLECT_EXPORT_LIST


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]