[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Stack problems with GCC 4



Alan Hourihane <alanh@fairlite.demon.co.uk> writes:

> There's a compiler option in GCC 4 too called
> -fno-zero-initialized-in-bss which allows stksiz.c to be compiled
> without any patch and correctly puts _stksiz into the data section, but
> then GCC 2.x can't compile the code because it doesn't understand the
> flag.

What about __attribute__((section(".data")))?

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."