This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Use COMDAT section group instead of gnu.linkonce?
- From: Jim Wilson <wilson at specifixinc dot com>
- To: "H. J. Lu" <hjl at lucon dot org>
- Cc: Zack Weinberg <zack at codesourcery dot com>, gcc at gcc dot gnu dot org
- Date: 03 May 2004 23:52:38 -0700
- Subject: Re: Use COMDAT section group instead of gnu.linkonce?
- References: <20040501034300.GA22385@lucon.org><20040501042506.GS2565@bubble.modra.org><87d65obuji.fsf@egil.codesourcery.com> <20040501055008.GA24493@lucon.org><20040501070618.GA25679@lucon.org> <20040501144439.GU2565@bubble.modra.org><87wu3wrnu5.fsf@egil.codesourcery.com><20040502134110.GY2565@bubble.modra.org> <20040502145558.GB1380@lucon.org><4096AFF8.10305@specifixinc.com> <20040504054619.GA5965@lucon.org>
On Mon, 2004-05-03 at 22:46, H. J. Lu wrote:
> Should we start moving toward COMDAT section group? It will help fix
> DWARF2 problems.
I think we should be using init_array/fini_array instead of init/fini,
COMDAT instead of gnu_linkonce, and doing whatever else is necessary to
remain current with the ELF spec and eliminate unnecessary use of GNU
extensions.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com