[binutils-gdb] fix compressed_debug_section_names definition for "zlib"

Martin Liska marxin@sourceware.org
Tue Oct 11 13:27:21 GMT 2022


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=735fab23d68d66678eaa19e5751c49091c3bd299

commit 735fab23d68d66678eaa19e5751c49091c3bd299
Author: Martin Liska <mliska@suse.cz>
Date:   Tue Oct 11 15:25:06 2022 +0200

    fix compressed_debug_section_names definition for "zlib"
    
    bfd/ChangeLog:
    
            * libbfd.c: Set COMPRESS_DEBUG_GABI_ZLIB for "zlib" value.

Diff:
---
 bfd/libbfd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bfd/libbfd.c b/bfd/libbfd.c
index 14e7d8ef34f..3090e0ae64b 100644
--- a/bfd/libbfd.c
+++ b/bfd/libbfd.c
@@ -1249,7 +1249,7 @@ _bfd_generic_init_private_section_data (bfd *ibfd ATTRIBUTE_UNUSED,
 static const struct compressed_type_tuple compressed_debug_section_names[] =
 {
   { COMPRESS_DEBUG_NONE, "none" },
-  { COMPRESS_DEBUG, "zlib" },
+  { COMPRESS_DEBUG_GABI_ZLIB, "zlib" },
   { COMPRESS_DEBUG_GNU_ZLIB, "zlib-gnu" },
   { COMPRESS_DEBUG_GABI_ZLIB, "zlib-gabi" },
   { COMPRESS_DEBUG_ZSTD, "zstd" },


More information about the Binutils-cvs mailing list