This is the mail archive of the
dwarf2@corp.sgi.com
mailing list for the dwarf2 project.
Re: duplicate dwarf2 reduction via comdat
- To: David B Anderson <davea at quasar dot engr dot sgi dot com>
- Subject: Re: duplicate dwarf2 reduction via comdat
- From: Jason Merrill <jason at redhat dot com>
- Date: 02 Feb 2001 01:10:06 +0000
- Cc: BRENDER at gemevn dot zko dot dec dot com, DWARF2 at corp dot sgi dot com
- References: <200101311959.LAA61606@quasar.engr.sgi.com><200102011652.IAA81390@quasar.engr.sgi.com>
- Reply-To: Jason Merrill <jason at redhat dot com>
>>>>> "David" == David B Anderson <davea@quasar.engr.sgi.com> writes:
>>> The Elf COMDAT (aka SECTION GROUP) rules forbid relocations
>>> which are offsets into a COMDAT section.
>>
>> Why? Arrgh.
> Because 'to the byte identical everywhere' is not required
> for section groups with the same name. So one
> cannot be sure that blind (internal) section relative relocations
> work right. (well that's my guess, not having been part of
> the deliberations).
> Relocations to a particular external name are fine as these
> will work right even if the name is not at the identical byte in.
So symbolic references are OK after all? That's how my implementation
works.
Jason