forked from Imagelibrary/binutils-gdb
refactor usage of compressed_debug_section_type
bfd/ChangeLog: * bfd-in.h (bfd_hash_set_default_size): Add COMPRESS_UNKNOWN enum value. (struct compressed_type_tuple): New. * bfd-in2.h (bfd_hash_set_default_size): Regenerate. (struct compressed_type_tuple): Likewise. * libbfd.c (ARRAY_SIZE): New macro. (bfd_get_compression_algorithm): New function. (bfd_get_compression_algorithm_name): Likewise. gas/ChangeLog: * as.c: Do not special-case, use the new functions. ld/ChangeLog: * emultempl/elf.em: Do not special-case, use the new functions. * lexsup.c (elf_static_list_options): Likewise.
This commit is contained in:
@@ -2148,13 +2148,9 @@ elf_static_list_options (FILE *file)
|
||||
fprintf (file, _("\
|
||||
--compress-debug-sections=[none|zlib|zlib-gnu|zlib-gabi|zstd]\n\
|
||||
Compress DWARF debug sections\n"));
|
||||
#ifdef DEFAULT_FLAG_COMPRESS_DEBUG
|
||||
fprintf (file, _("\
|
||||
Default: zlib-gabi\n"));
|
||||
#else
|
||||
fprintf (file, _("\
|
||||
Default: none\n"));
|
||||
#endif
|
||||
Default: %s\n"),
|
||||
bfd_get_compression_algorithm_name (link_info.compress_debug));
|
||||
fprintf (file, _("\
|
||||
-z common-page-size=SIZE Set common page size to SIZE\n"));
|
||||
fprintf (file, _("\
|
||||
|
||||
Reference in New Issue
Block a user