This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]