--- elfutils-0.176/src/elfcompress.c 2019-02-15 15:46:47.000000000 +0000 +++ elfutils-0.176/src/elfcompress.c 2019-07-18 09:13:29.159806022 +0000 @@ -134,8 +142,10 @@ parse_opt (int key, char *arg __attribut case ARGP_KEY_SUCCESS: if (type == T_UNSET) type = T_COMPRESS_ZLIB; - if (patterns == NULL) - add_pattern (".?(z)debug*"); + if (patterns == NULL) { + add_pattern (".debug*"); + add_pattern (".zdebug*"); + } break; case ARGP_KEY_NO_ARGS: @@ -1312,7 +1322,7 @@ main (int argc, char **argv) N_("What type of compression to apply. TYPE can be 'none' (decompress), 'zlib' (ELF ZLIB compression, the default, 'zlib-gabi' is an alias) or 'zlib-gnu' (.zdebug GNU style compression, 'gnu' is an alias)"), 0 }, { "name", 'n', "SECTION", 0, - N_("SECTION name to (de)compress, SECTION is an extended wildcard pattern (defaults to '.?(z)debug*')"), + N_("SECTION name to (de)compress, SECTION is an wildcard pattern (defaults to '.debug*' and '.zdebug*')"), 0 }, { "verbose", 'v', NULL, 0, N_("Print a message for each section being (de)compressed"),