Re: Is LTO_REFERENCE_INITCALL() still needed?
From: Luis R. Rodriguez
Date: Mon Jun 27 2016 - 20:47:24 EST
On Fri, Jun 24, 2016 at 02:07:53PM -0700, Andi Kleen wrote:
> > But nothing quite obviously setting these upstream. I'm probably just
> > missing something obvious though. Either way I figured now would be a
> > good time to ask as I have other code that would use this, the linker
> > table stuff I've been working. If we can avoid propagating more use of
> > LTO_REFERENCE_INITCALL() then great. If we still need it its probably
> > good to document this a bit more as can't see anything super clear.
>
> It was a work around for a gcc 4.7 LTO problem. I guess it could be
> dropped by now.
>
> Yes I've been slow in submitting the LTO patches, even though they
> have a quite active out of tree user base. Will try to do better.
Would something like this make sense then? Tested by 0-day.