This is the mail archive of the
dwarf2@corp.sgi.com
mailing list for the dwarf2 project.
Re: duplicate dwarf2 reduction via comdat
- To: Jason Merrill <jason at redhat dot com>
- Subject: Re: duplicate dwarf2 reduction via comdat
- From: Jim Dehnert <dehnert at transmeta dot com>
- Date: Thu, 01 Feb 2001 12:10:44 -0800
- CC: David B Anderson <davea at quasar dot engr dot sgi dot com>, DWARF2 at corp dot sgi dot com, BRENDER at gemevn dot zko dot dec dot com
- Organization: Transmeta Corp.
- References: <200101311959.LAA61606@quasar.engr.sgi.com> <u9g0hyfvn3.fsf@casey.cambridge.redhat.com>
- Reply-To: Jim Dehnert <dehnert at transmeta dot com>
Jason Merrill wrote:
>
> >>>>> "David" == David B Anderson <davea@quasar.engr.sgi.com> writes:
>
> > The 'internal' references Jason mentions have to
> > be implemented as relocations with section offsets.
> > (ie, as unnamed offsets relative to a section , where the
> > section name is a global). Right?
>
> Yes.
>
> > The Elf COMDAT (aka SECTION GROUP) rules forbid relocations
> > which are offsets into a COMDAT section.
>
> Why? Arrgh.
No, that's not right. They forbid relocations of a COMDAT section
that aren't coming from the same COMDAT. That is, if you want to
relocate something in a COMDAT, you need to do it from a relocation
section in the same COMDAT group.
Jim
--
- Jim Dehnert dehnert@transmeta.com
(408)919-6984 dehnertj@acm.org