[PATCH v4] elf: Remove -fno-tree-loop-distribute-patterns usage on dl-support
Andreas Schwab
schwab@suse.de
Thu Aug 11 14:32:30 GMT 2022
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.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Libc-alpha
mailing list