put ELF reloc section against section with template function instantiation in the same COMDAT group

Игорь Пашев pashev.igor@gmail.com
Mon Jul 8 11:36:00 GMT 2013


Hi, all.

First off, I know that I'm posting to GCC list :-)
And I'm looking for competent opinions.

I'm working on CLang/LLVM issue [1].
Clang doesn't put section with relocation entries against section
with templated function instantiation in the same COMDAT group.
AFAIK GCC does not do it too, Solaris CC does.

Is GCC's behavior intentional? Does GCC rely on the linker?

I'm not sure what questions are correct, so appreciate any comments .



[1] http://llvm.org/bugs/show_bug.cgi?id=12843



More information about the Gcc mailing list