This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] ARM: Don't use weak linkage when comdat groups are available
On Tuesday 17 May 2005 15:27, Julian Brown wrote:
> Paul Brook wrote:
> > On Monday 16 May 2005 13:43, Julian Brown wrote:
> >>Julian Brown wrote:
> >>> * config/arm/arm.h (MAKE_DECL_ONE_ONLY): Redefine macro to stop
> >>> DECL_WEAK being used for symbols with vague linkage when
> >>> HAVE_COMDAT_GROUP is true.
> > Are old arm-linux targets liable to have the same problems as you were
> > seeing on other targets?
> > If so we probably only want to do this for EABI based targets. We know
> > these will be using recent binutils with working COMDAT.
> One of my previous patches disabled COMDAT support for all binutils
> versions less than 2.16, so I think it should be OK. I haven't tried
> arm-linux-elf with this patch at all though, so perhaps I'd better run
> tests to be sure.
Ok. That's good enough for me.