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]
Other format: [Raw text]

Re: -fzero-initialized-in-bss


On Thu, May 06, 2004 at 09:52:40AM -0400, Michael LeBlanc wrote:
> I get "(nil) (nil)", but that's OK.  No, I have not been able to 
> produce a small case.  This was reported to me, the company's compiler 
> guy, by an engineer working on the Linux kernel.  I'm trying to get 
> more information, but I now suspect that the offending code is in a 
> driver module loaded on demand.  I'll try to confirm asap.

This sounds like a problem with your module loader.

Specifically, in the example you gave, the result was not in .bss but
in .sbss.  Try disabling use of .sbss or adding support for zeroing it.

[This is no longer a GCC question.]

-- 
Daniel Jacobowitz


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