about summary refs log tree commit diff
path: root/sysdeps/powerpc
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/powerpc
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/powerpc')
-rw-r--r--sysdeps/powerpc/dl-procinfo.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/sysdeps/powerpc/dl-procinfo.h b/sysdeps/powerpc/dl-procinfo.h
index 6ed15610f4..a0b2d779f9 100644
--- a/sysdeps/powerpc/dl-procinfo.h
+++ b/sysdeps/powerpc/dl-procinfo.h
@@ -70,16 +70,6 @@ _dl_hwcap_string (int idx)
 }
 
 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;
-}
-
-static inline int
 __attribute__ ((unused, always_inline))
 _dl_string_platform (const char *str)
 {