This is the mail archive of the gcc-patches@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: mips .bss switching patch


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


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