This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: as memory use for large bss arrays
- From: Andreas Schwab <schwab at suse dot de>
- To: Andi Kleen <andi at firstfloor dot org>
- Cc: binutils at sourceware dot org
- Date: Fri, 11 Jan 2008 16:34:50 +0100
- Subject: Re: as memory use for large bss arrays
- References: <20080111145551.GA28365@basil.nowhere.org>
Andi Kleen <andi@firstfloor.org> writes:
> I made a mistake last night where I accidentially created an (uninitialized)
> global array in C that was several hundred TB large. gcc didn't have much
> trouble with it, but gas seemed to try to put it all into memory.
I cannot reproduce that. Care to provide a test case?
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."