diff options
Diffstat (limited to 'elf/dl-usage.c')
-rw-r--r-- | elf/dl-usage.c | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/elf/dl-usage.c b/elf/dl-usage.c index 98d8c98948..efd6c77c25 100644 --- a/elf/dl-usage.c +++ b/elf/dl-usage.c @@ -193,37 +193,6 @@ print_hwcaps_subdirectories (const struct dl_main_state *state) No subdirectories of glibc-hwcaps directories are searched.\n"); } -/* Write a list of hwcap subdirectories to standard output. See - _dl_important_hwcaps in dl-hwcaps.c. */ -static void -print_legacy_hwcap_directories (void) -{ - _dl_printf ("\n\ -Legacy HWCAP subdirectories under library search path directories:\n"); - - const char *platform = GLRO (dl_platform); - if (platform != NULL) - _dl_printf (" %s (AT_PLATFORM; supported, searched)\n", platform); - - _dl_printf (" tls (supported, searched)\n"); - - uint64_t hwcap_mask = GET_HWCAP_MASK(); - uint64_t searched = GLRO (dl_hwcap) & hwcap_mask; - for (int n = 63; n >= 0; --n) - { - uint64_t bit = 1ULL << n; - if (HWCAP_IMPORTANT & bit) - { - _dl_printf (" %s", _dl_hwcap_string (n)); - bool first = true; - print_hwcap_1 (&first, GLRO (dl_hwcap) & bit, "supported"); - print_hwcap_1 (&first, !(hwcap_mask & bit), "masked"); - print_hwcap_1 (&first, searched & bit, "searched"); - print_hwcap_1_finish (&first); - } - } -} - void _dl_help (const char *argv0, struct dl_main_state *state) { @@ -270,6 +239,5 @@ This program interpreter self-identifies as: " RTLD "\n\ argv0); print_search_path_for_help (state); print_hwcaps_subdirectories (state); - print_legacy_hwcap_directories (); _exit (EXIT_SUCCESS); } |