aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/sparc
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/sparc
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/sparc')
-rw-r--r--sysdeps/sparc/dl-procinfo.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/sysdeps/sparc/dl-procinfo.h b/sysdeps/sparc/dl-procinfo.h
index 4a723b5..fa09583 100644
--- a/sysdeps/sparc/dl-procinfo.h
+++ b/sysdeps/sparc/dl-procinfo.h
@@ -52,19 +52,6 @@ _dl_hwcap_string (int idx)
return GLRO(dl_sparc_cap_flags)[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, GLRO(dl_sparc_cap_flags) [i]) == 0)
- return i;
- }
- return -1;
-};
-
#include <bits/wordsize.h>
#define HWCAP_IMPORTANT_V9 (__WORDSIZE == 64 ? 0 : HWCAP_SPARC_V9)
#define HWCAP_IMPORTANT (HWCAP_IMPORTANT_V9 | HWCAP_SPARC_ULTRA3 \