From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vs1-xe36.google.com (mail-vs1-xe36.google.com [IPv6:2607:f8b0:4864:20::e36]) by sourceware.org (Postfix) with ESMTPS id 7ED033858C74 for ; Thu, 11 Aug 2022 15:48:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 7ED033858C74 Received: by mail-vs1-xe36.google.com with SMTP id 66so18677412vse.4 for ; Thu, 11 Aug 2022 08:48:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc; bh=Tsq5jzTzc1JjOWyBaH6MFFUX7X1qXAqq5mVWjMbpLCo=; b=k13gz1+aoSrqraLD8lroPIduWpUYcjHer3UmTzH5KYM/FlTacdMqFHMfz2GmUOECG+ MSNmvJwM7D/2GypKj45DXZ9pXA3fchzdHldJVbAwWEeB6CAlLylUR3/5Q2+vla5MBybr DbTCSZxseRAFnlZAeicDoRbW67L7EIPxSLIWdAtEq23KGmw78pUCmrgCKM3JjcBk1x7U ww58if4j/43yppmeH5qUCNzngrdo5d7IsNozmDT7yOIjSfBSw6e6T8AsBRL6F7fFjRqx 70XFks29bm5QsTU54W5qE/wADxF2R3KCyGxZCZAlhQyJ5m8UcmAxAgi6bkX4wYS0hmjZ MXEg== X-Gm-Message-State: ACgBeo3OP9j/QedJTcnU3kM4/4ORduK7wfGClnmj3cq9K8AIIjy4+THk Uwg/RjOOPtYT3vIetBIIX3M3KQ== X-Google-Smtp-Source: AA6agR42QmeB7xOryaNt6AZDKB5/vtQzTNLkCwppSmGj5mb04c8ZEApp+mXjbT2qRJ+xnR2t1J3ZrA== X-Received: by 2002:a05:6102:452:b0:388:6731:2cc8 with SMTP id e18-20020a056102045200b0038867312cc8mr12994877vsq.63.1660232899734; Thu, 11 Aug 2022 08:48:19 -0700 (PDT) Received: from ?IPV6:2804:1b3:a7c0:89b:9d50:8d25:b9e5:dcfc? ([2804:1b3:a7c0:89b:9d50:8d25:b9e5:dcfc]) by smtp.gmail.com with ESMTPSA id x10-20020a67be0a000000b003884d8319fesm1652253vsq.26.2022.08.11.08.48.18 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 11 Aug 2022 08:48:19 -0700 (PDT) Message-ID: Date: Thu, 11 Aug 2022 12:48:17 -0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.1.2 Subject: Re: [PATCH v4] elf: Remove -fno-tree-loop-distribute-patterns usage on dl-support Content-Language: en-US To: Andreas Schwab , Adhemerval Zanella via Libc-alpha References: <20220811121909.4110665-1-adhemerval.zanella@linaro.org> From: Adhemerval Zanella Netto Organization: Linaro In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-12.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, KAM_SHORT, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, 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 15:48:22 -0000 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 >> + . */ >> + >> +#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.