This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: mips .bss switching patch
- To: geoffk at geoffk dot org
- Subject: Re: mips .bss switching patch
- From: Nick Clifton <nickc at redhat dot com>
- Date: Fri, 8 Dec 2000 11:29:22 -0800
- CC: gcc-patches at gcc dot gnu dot org
Hi Geoff,
: > There is only one case where you would want to append "@nobits" to a
: > datum's section name and that is if the name is ".bss". No other
: > data section should have this attribute (with the exception of
: > programmer created sections, in which case it is entirely up to the
: > programmer to manage these properly). So I think that doing a
: > strncmp for ".bss" is in fact OK.
:
: There are also the .bss.foo sections, and the .gnu.linkonce.b.foo sections...
*sigh* Yes, but these do not have the same effect in the assembler.
(ie the .section pseudo-op will not complain if these are given types
that do not match with the built in type for .bss).
Cheers
Nick