[PATCH v4] elf: Remove -fno-tree-loop-distribute-patterns usage on dl-support
Adhemerval Zanella Netto
adhemerval.zanella@linaro.org
Thu Aug 11 15:48:17 GMT 2022
On 11/08/22 11:32, Andreas Schwab wrote:
> On Aug 11 2022, Adhemerval Zanella via Libc-alpha wrote:
>
>> diff --git a/sysdeps/powerpc/powerpc64/le/multiarch/dl-ifunc-generic.h b/sysdeps/powerpc/powerpc64/le/multiarch/dl-ifunc-generic.h
>> new file mode 100644
>> index 0000000000..1bf516494d
>> --- /dev/null
>> +++ b/sysdeps/powerpc/powerpc64/le/multiarch/dl-ifunc-generic.h
>> @@ -0,0 +1,24 @@
>> +/* Symbol rediretion for loader/static initialization code.
>> + Copyright (C) 2022 Free Software Foundation, Inc.
>> + This file is part of the GNU C Library.
>> +
>> + The GNU C Library is free software; you can redistribute it and/or
>> + modify it under the terms of the GNU Lesser General Public
>> + License as published by the Free Software Foundation; either
>> + version 2.1 of the License, or (at your option) any later version.
>> +
>> + The GNU C Library is distributed in the hope that it will be useful,
>> + but WITHOUT ANY WARRANTY; without even the implied warranty of
>> + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
>> + Lesser General Public License for more details.
>> +
>> + You should have received a copy of the GNU Lesser General Public
>> + License along with the GNU C Library; if not, see
>> + <https://www.gnu.org/licenses/>. */
>> +
>> +#ifndef _DL_IFUNC_GENERIC_H
>> +#define _DL_IFUNC_GENERIC_H
>> +
>> +#define HAVE_MEMSET_IFUNC_GENERIC "__memset_power8"
>> +
>> +#endif
>
> I think you'll also need __memset_ppc for generic powerpc64.
I had this on the initial version:
+/* powerpc and powerpc64 provides the default memset as 'memset', so
+ no need to redirect it. */
The powerpc64 multiarch already handle it.
More information about the Libc-alpha
mailing list