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]

PATCH: Use COMDAT section group instead of gnu.linkonce


On Tue, May 04, 2004 at 11:52:54AM -0700, Mike Stump wrote:
> On Monday, May 3, 2004, at 10:46 PM, H. J. Lu wrote:
> >Should we start moving toward COMDAT section group? It will help fix
> >DWARF2 problems.
> 
> We are in favor of this.  Our platform doesn't yet have group COMDAT, 
> but, that is the way we know we need to go.  Thanks.

This patch enables COMDAT group. It even works with

const int foo __attribute__((section(".gnu.linkonce.r.foo")));

There are no regressions on ia32, ia64 and x86-64. You just need to
apply

http://sources.redhat.com/ml/binutils/2004-05/msg00022.html

on top of the current binutils in CVS.


H.J.

Attachment: gcc-3.4-comdat-4.patch
Description: Text document


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