about summary refs log tree commit diff
path: root/elf
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 /elf
parentc5aa5fd40adc81c4f0b18e01f329aeaf86518c7b (diff)
downloadglibc-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 'elf')
-rw-r--r--elf/dl-diagnostics.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/elf/dl-diagnostics.c b/elf/dl-diagnostics.c
index aaf67b87e8..e69463b2bd 100644
--- a/elf/dl-diagnostics.c
+++ b/elf/dl-diagnostics.c
@@ -245,8 +245,6 @@ _dl_print_diagnostics (char **environ)
   _dl_diagnostics_print_labeled_string ("dl_platform", GLRO (dl_platform));
   _dl_diagnostics_print_labeled_string
     ("dl_profile_output", GLRO (dl_profile_output));
-  _dl_diagnostics_print_labeled_value
-    ("dl_string_platform", _dl_string_platform ( GLRO (dl_platform)));
 
   _dl_diagnostics_print_labeled_string ("dso.ld", LD_SO);
   _dl_diagnostics_print_labeled_string ("dso.libc", LIBC_SO);