This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] powerpc: fix ifunc-sel.h with GCC 6
On 2016-07-22 13:06, Alan Modra wrote:
> On Thu, Jul 21, 2016 at 02:48:09PM -0300, Tulio Magno Quites Machado Filho wrote:
> > Aurelien Jarno <aurelien@aurel32.net> writes:
> > > * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
> > > by beq instructions jumping to the end of the function.
> >
> > I'd prefer to remove this file.
> >
> > Alan, do we still need this file?
>
> To do without it, I think you'd need to bump the glibc binutils
> requirement to 2.24, in order to have this linker fix:
> https://sourceware.org/ml/binutils/2013-03/msg00299.html
In that case, one possibility is to support ifunc only when the
installed binutils is at least 2.24. This is basically just changing
the minimum version in the "Prevent building POWER8 code without support
in assembler" patch.
Aurelien
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://www.aurel32.net