[PATCH] Allow multiple coff sections with the name but different comdat symbols

Anton Korobeynikov anton at korobeynikov.info
Sun Nov 17 13:15:52 PST 2013

>>   I noticed gcc does what we do currently, it emits sections like:
>>           .section .text$_Z3foov,"x"
>>           .linkonce discard
> I don't know where this came from. A possible guess is that some older
> MSVC used to do this. Another is that it is just a way to work around
> a limitation in the gas syntax.
No. This is how binutils implements all this stuff. While changing
here make sure you won't break assembling / linking with binutils.

With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University

More information about the llvm-commits mailing list