[PATCH] Bug 12843: put ELF reloc section against section with template function instantiation in the same COMDAT group
Игорь Пашев
pashev.igor at gmail.com
Sun Jul 7 11:59:21 PDT 2013
2013/7/7 Tim Northover <t.p.northover at gmail.com>:
> Hi Igor,
>
>> http://llvm.org/bugs/show_bug.cgi?id=12843
>
> Hmm. As far as I can see the ELF specification is unclear on the
> correct behaviour here. We currently seem to match GCC behaviour,
> which does not put the relocation sections into the COMDAT groups
> explicitly.
>
> Much as I prefer these things to be explicit, it almost seems more
> consistent with the rest of ELF that relocation sections aren't
> included in COMDAT. Otherwise, shouldn't we be creating group sections
> for every .section/.rel.section pair? It looks like they have the same
> semantics.
Oh, I missed the point that Solaris CC creates
.group%__1cDbar4Ci_6FTA_i_, not .group.
Is it what you mean?
More information about the llvm-commits
mailing list