aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/arm/dl-procinfo.h
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/unix/sysv/linux/arm/dl-procinfo.h
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/unix/sysv/linux/arm/dl-procinfo.h')
-rw-r--r--sysdeps/unix/sysv/linux/arm/dl-procinfo.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/sysdeps/unix/sysv/linux/arm/dl-procinfo.h b/sysdeps/unix/sysv/linux/arm/dl-procinfo.h
index 1f4c8c3..d8c0f26 100644
--- a/sysdeps/unix/sysv/linux/arm/dl-procinfo.h
+++ b/sysdeps/unix/sysv/linux/arm/dl-procinfo.h
@@ -75,18 +75,6 @@ _dl_procinfo (unsigned int type, unsigned long int word)
#define HWCAP_IMPORTANT (HWCAP_ARM_VFP | HWCAP_ARM_NEON)
-static inline int
-__attribute__ ((unused))
-_dl_string_hwcap (const char *str)
-{
- for (int i = 0; i < _DL_HWCAP_COUNT; i++)
- {
- if (strcmp (str, _dl_hwcap_string (i)) == 0)
- return i;
- }
- return -1;
-};
-
#define _dl_string_platform(str) (-1)
#endif /* dl-procinfo.h */