From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out1.suse.de (smtp-out1.suse.de [IPv6:2001:67c:2178:6::1c]) by sourceware.org (Postfix) with ESMTPS id E0B643858429 for ; Thu, 11 Aug 2022 14:32:31 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E0B643858429 Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out1.suse.de (Postfix) with ESMTP id 1887C38C5F; Thu, 11 Aug 2022 14:32:31 +0000 (UTC) Received: from hawking.suse.de (unknown [10.168.4.11]) by relay2.suse.de (Postfix) with ESMTP id 21D9D2C145; Thu, 11 Aug 2022 14:32:31 +0000 (UTC) Received: by hawking.suse.de (Postfix, from userid 17005) id 83E33444B11; Thu, 11 Aug 2022 16:32:30 +0200 (CEST) From: Andreas Schwab To: Adhemerval Zanella via Libc-alpha Subject: Re: [PATCH v4] elf: Remove -fno-tree-loop-distribute-patterns usage on dl-support References: <20220811121909.4110665-1-adhemerval.zanella@linaro.org> X-Yow: Yow! And then we could sit on the hoods of cars at stop lights! Date: Thu, 11 Aug 2022 16:32:30 +0200 In-Reply-To: <20220811121909.4110665-1-adhemerval.zanella@linaro.org> (Adhemerval Zanella via Libc-alpha's message of "Thu, 11 Aug 2022 09:19:09 -0300") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-9.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2022 14:32:33 -0000 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 > + . */ > + > +#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."