aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/s390/dl-procinfo.h
diff options
context:
space:
mode:
authorStefan Liebler <stli@linux.ibm.com>2024-06-07 13:42:38 +0200
committerStefan Liebler <stli@linux.ibm.com>2024-06-18 10:45:36 +0200
commit8faada830227aeb1a17117cbf8b94d9be0f5ffe1 (patch)
treee1ff447f451f1d1710cd0e62f5190c0280aaeb45 /sysdeps/s390/dl-procinfo.h
parentc5aa5fd40adc81c4f0b18e01f329aeaf86518c7b (diff)
downloadglibc-8faada830227aeb1a17117cbf8b94d9be0f5ffe1.zip
glibc-8faada830227aeb1a17117cbf8b94d9be0f5ffe1.tar.gz
glibc-8faada830227aeb1a17117cbf8b94d9be0f5ffe1.tar.bz2
elf: Remove _dl_string_platform
Despite of powerpc where the returned integer is stored in tcb, and the diagnostics output, there is no user anymore. Thus this patch removes the diagnostics output and _dl_string_platform for all other platforms. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'sysdeps/s390/dl-procinfo.h')
-rw-r--r--sysdeps/s390/dl-procinfo.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/sysdeps/s390/dl-procinfo.h b/sysdeps/s390/dl-procinfo.h
index 38e77f7..ffeb655 100644
--- a/sysdeps/s390/dl-procinfo.h
+++ b/sysdeps/s390/dl-procinfo.h
@@ -83,19 +83,4 @@ _dl_hwcap_string (int idx)
return _dl_s390_cap_flags[idx];
};
-static inline int
-__attribute__ ((unused, always_inline))
-_dl_string_platform (const char *str)
-{
- int i;
-
- if (str != NULL)
- for (i = 0; i < _DL_PLATFORMS_COUNT; ++i)
- {
- if (strcmp (str, _dl_s390_platforms[i]) == 0)
- return _DL_FIRST_PLATFORM + i;
- }
- return -1;
-};
-
#endif /* dl-procinfo.h */