about summary refs log tree commit diff
path: root/sysdeps/x86
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/x86
parent78d9a1620b840deb0880686e4159eaf70708866a (diff)
downloadglibc-ab40f20364f4a417a63dd51fdd943742070bfe96.tar.gz
glibc-ab40f20364f4a417a63dd51fdd943742070bfe96.tar.xz
glibc-ab40f20364f4a417a63dd51fdd943742070bfe96.zip
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/x86')
-rw-r--r--sysdeps/x86/dl-hwcap.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/sysdeps/x86/dl-hwcap.h b/sysdeps/x86/dl-hwcap.h
index 26790afcf6..1313cecd01 100644
--- a/sysdeps/x86/dl-hwcap.h
+++ b/sysdeps/x86/dl-hwcap.h
@@ -57,20 +57,6 @@ _dl_hwcap_string (int idx)
   return GLRO(dl_x86_hwcap_flags)[idx];
 };
 
-static inline int
-__attribute__ ((unused, always_inline))
-_dl_string_hwcap (const char *str)
-{
-  int i;
-
-  for (i = HWCAP_START; i < HWCAP_COUNT; i++)
-    {
-      if (strcmp (str, GLRO(dl_x86_hwcap_flags)[i]) == 0)
-	return i;
-    }
-  return -1;
-};
-
 /* We cannot provide a general printing function.  */
 #define _dl_procinfo(type, word) -1