aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/s390
diff options
context:
space:
mode:
authorJavier Pello <devel@otheo.eu>2022-09-27 20:09:28 +0200
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2022-10-06 07:59:48 -0300
commitab40f20364f4a417a63dd51fdd943742070bfe96 (patch)
tree2cbafbb6e236747e98360ece25130699ef771b63 /sysdeps/s390
parent78d9a1620b840deb0880686e4159eaf70708866a (diff)
downloadglibc-ab40f20364f4a417a63dd51fdd943742070bfe96.zip
glibc-ab40f20364f4a417a63dd51fdd943742070bfe96.tar.gz
glibc-ab40f20364f4a417a63dd51fdd943742070bfe96.tar.bz2
elf: Remove _dl_string_hwcap
Removal of legacy hwcaps support from the dynamic loader left no users of _dl_string_hwcap. Signed-off-by: Javier Pello <devel@otheo.eu> Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/s390')
-rw-r--r--sysdeps/s390/dl-procinfo.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/sysdeps/s390/dl-procinfo.h b/sysdeps/s390/dl-procinfo.h
index e1f88b9..73aad1f 100644
--- a/sysdeps/s390/dl-procinfo.h
+++ b/sysdeps/s390/dl-procinfo.h
@@ -85,20 +85,6 @@ _dl_hwcap_string (int idx)
static inline int
__attribute__ ((unused, always_inline))
-_dl_string_hwcap (const char *str)
-{
- int i;
-
- for (i = 0; i < _DL_HWCAP_COUNT; i++)
- {
- if (strcmp (str, _dl_s390_cap_flags[i]) == 0)
- return i;
- }
- return -1;
-};
-
-static inline int
-__attribute__ ((unused, always_inline))
_dl_string_platform (const char *str)
{
int i;