mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-24 02:24:46 +08:00
Recognize the new ELF compression type for ZSTD.
There is more work to be done to actually support compression and decompression using the zstd library, but I will leave that to the champions of the new compression option. binutils/ * binutils/readelf.c (process_section_headers): Add support for ELFCOMPRESS_ZSTD.
This commit is contained in:
parent
62b73b6580
commit
1369522f36
@ -7710,6 +7710,8 @@ process_section_headers (Filedata * filedata)
|
||||
{
|
||||
if (chdr.ch_type == ELFCOMPRESS_ZLIB)
|
||||
printf (" ZLIB, ");
|
||||
else if (chdr.ch_type == ELFCOMPRESS_ZSTD)
|
||||
printf (" ZSTD, ");
|
||||
else
|
||||
printf (_(" [<unknown>: 0x%x], "),
|
||||
chdr.ch_type);
|
||||
|
Loading…
Reference in New Issue
Block a user