[llvm-commits] [Review request] Tweak section names of linkonce on PECOFF

Chris Lattner clattner at apple.com
Sun Oct 10 11:47:04 PDT 2010


On Oct 10, 2010, at 8:58 AM, NAKAMURA Takumi wrote:

> Anton,
> 
> It seems GNU ld relies on section's name to integrate/discard sections.
> Please take a look into this.
> 
> W/O this, linking against gcc/libstdc++ must fail.
> 
> It might be essential to build clang++/mingw bootstrap stage2, I think.
> 
> ps. thank you to previous patch. I saw warnings reduced on linking.

This looks fine to me in principle, if it matches what gcc produces, go for it.  That said, I'm not a coff expert :) so I'd appreciate Michael or Anton to look at it.

-Chris



More information about the llvm-commits mailing list