diff options
author | Stefan Liebler <stli@linux.ibm.com> | 2024-06-07 13:42:38 +0200 |
---|---|---|
committer | Stefan Liebler <stli@linux.ibm.com> | 2024-06-18 10:45:36 +0200 |
commit | 8faada830227aeb1a17117cbf8b94d9be0f5ffe1 (patch) | |
tree | e1ff447f451f1d1710cd0e62f5190c0280aaeb45 /sysdeps/alpha | |
parent | c5aa5fd40adc81c4f0b18e01f329aeaf86518c7b (diff) | |
download | glibc-8faada830227aeb1a17117cbf8b94d9be0f5ffe1.tar.gz glibc-8faada830227aeb1a17117cbf8b94d9be0f5ffe1.tar.xz glibc-8faada830227aeb1a17117cbf8b94d9be0f5ffe1.zip |
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/alpha')
-rw-r--r-- | sysdeps/alpha/dl-procinfo.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/sysdeps/alpha/dl-procinfo.h b/sysdeps/alpha/dl-procinfo.h index f1e2e98e08..bc4db868a9 100644 --- a/sysdeps/alpha/dl-procinfo.h +++ b/sysdeps/alpha/dl-procinfo.h @@ -27,21 +27,6 @@ #define _DL_PLATFORMS_COUNT 5 -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, GLRO(dl_alpha_platforms)[i]) == 0) - return i; - } - return -1; -}; - /* We cannot provide a general printing function. */ #define _dl_procinfo(type, word) -1 |