This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/2] arm: Implement memcpy ifunc selection in C
On 09/10/2017 09:44, Adhemerval Zanella wrote:
>
>
> On 09/10/2017 08:59, Ramana Radhakrishnan wrote:
>>> That is, we should fix the default in GCC mainline and then propose glibc
>>> changes that do not involve such workarounds. (Arguably the default
>>> should be to support the attribute for all architectures, to avoid future
>>> issues when new architectures gain binutils support for IFUNCs after the
>>> GCC 8 release.)
>>
>> Is there a patch for this to mainline gcc - my quick searches did not
>> find anything ? I see no reason for not defaulting to this on linux /
>> glibc configurations in mainline gcc taking care not to break things
>> for people who use musl or bionic. We've had ifuncs on aarch32 glibc /
>> binutils for a few years now IIRC so I'm happy to review a patch on
>> gcc-patches if someone can point me at it or propose a patch ....
>
> I will on on it, the patch should be simple enough as the one for
> sparc [1].
>
> [1] https://gcc.gnu.org/ml/gcc-patches/2017-09/msg01779.html
>
Patch for ARM sent for review [1].
[1] https://gcc.gnu.org/ml/gcc-patches/2017-10/msg00521.html