From: Peter Bergner <bergner@linux.ibm.com>
To: Stefan Liebler <stli@linux.ibm.com>,
GNU C Library <libc-alpha@sourceware.org>
Cc: Florian Weimer <fweimer@redhat.com>,
Javier Pello <devel@otheo.eu>,
Adhemerval Zanella Netto <adhemerval.zanella@linaro.org>
Subject: Re: Question regarding platform-bits in ld.so.cache
Date: Fri, 17 May 2024 12:25:50 -0500 [thread overview]
Message-ID: <04e2eead-e8e6-4819-964a-49aaa22dfe9e@linux.ibm.com> (raw)
In-Reply-To: <6fadccb2-8f24-4aee-aa38-29f0f7918250@linux.ibm.com>
On 5/17/24 8:06 AM, Stefan Liebler wrote:
> NOTE: powerpc is using _dl_string_platform() also here:
> sysdeps/powerpc/hwcapinfo.c:37: __tcb.at_platform = _dl_string_platform
> (GLRO (dl_platform));
> => Within exported symbol __parse_hwcap_and_convert_at_platform.
> sysdeps/powerpc/test-get_hwcap.c:123: at_platform = _dl_string_platform
> (at_platform_string);
On powerpc, we replicate the AT_PLATFORM value (actually a unique integer
that maps to a specific AT_PLATFORM string) and our AT_HWCAP{,2,3,4} masks
in our TCB for access from our __builtin_cpu_is() and __builtin_cpu_supports()
built-in functions.
Peter
prev parent reply other threads:[~2024-05-17 17:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-17 13:06 Stefan Liebler
2024-05-17 13:14 ` Florian Weimer
2024-05-17 13:22 ` Stefan Liebler
2024-05-17 15:42 ` Florian Weimer
2024-05-17 17:25 ` Peter Bergner [this message]
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=04e2eead-e8e6-4819-964a-49aaa22dfe9e@linux.ibm.com \
--to=bergner@linux.ibm.com \
--cc=adhemerval.zanella@linaro.org \
--cc=devel@otheo.eu \
--cc=fweimer@redhat.com \
--cc=libc-alpha@sourceware.org \
--cc=stli@linux.ibm.com \
/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).