public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Adhemerval Zanella Netto <adhemerval.zanella@linaro.org>
To: Andreas Schwab <schwab@suse.de>,
	Adhemerval Zanella via Libc-alpha <libc-alpha@sourceware.org>
Subject: Re: [PATCH v4] elf: Remove -fno-tree-loop-distribute-patterns usage on dl-support
Date: Thu, 11 Aug 2022 12:48:17 -0300	[thread overview]
Message-ID: <f684d244-6cdc-c526-87b8-f2892b882eb4@linaro.org> (raw)
In-Reply-To: <mvmv8qyj1fl.fsf@suse.de>



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.

  reply	other threads:[~2022-08-11 15:48 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-11 12:19 Adhemerval Zanella
2022-08-11 14:32 ` Andreas Schwab
2022-08-11 15:48   ` Adhemerval Zanella Netto [this message]
2022-08-11 14:33 ` Andreas Schwab
2022-08-22 13:55 ` Adhemerval Zanella Netto
2022-09-20 19:06   ` Adhemerval Zanella Netto
2022-10-04 16:13 ` Carlos O'Donell
2022-10-06 15:25   ` Adhemerval Zanella Netto

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f684d244-6cdc-c526-87b8-f2892b882eb4@linaro.org \
    --to=adhemerval.zanella@linaro.org \
    --cc=libc-alpha@sourceware.org \
    --cc=schwab@suse.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).