[llvm-commits] "Zeros in bss" patch for llvm-gcc

Chris Lattner clattner at apple.com
Wed Jan 17 09:18:49 PST 2007


On Jan 17, 2007, at 2:49 AM, Anton Korobeynikov wrote:

> Hello, Everyone.
>
> Now some codegens by default emit zero-initialized data to .bss  
> section.
> However, sometimes it's really necessary not to do so. This patch will
> add handling of "-fno-zero-initialized-in-bss" llvm-gcc' option. It's
> necessary to compile crt*.o properly.

Yuck, the -fno-zero-initialized-in-bss option in GCC is a horrible  
hack.  However, your implementation of it looks great.  I'll apply it.

Thanks Anton!

-Chris



More information about the llvm-commits mailing list