put ELF reloc section against section with template function instantiation in the same COMDAT group
Andrew Pinski
pinskia@gmail.com
Mon Jul 8 14:59:00 GMT 2013
On Mon, Jul 8, 2013 at 4:35 AM, Игорь Пашев <pashev.igor@gmail.com> wrote:
> 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 think GCC's behavior is depend on the assembler which is being used.
So if you used Sun's assembler it would have placed it in the same
COMDAT group. Meaning this is really a GNU binutils issue rather than
a GCC one.
Thanks,
Andrew Pinski
>
> 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