1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
Since musl doesn't support FNM_EXTMATCH, we need to do things.
Ref: https://www.openwall.com/lists/musl/2020/10/26/7
--- elfutils-0.192/src/elfcompress.c.old 2024-10-18 14:03:43.000000000 -0500
+++ elfutils-0.192/src/elfcompress.c 2024-11-19 05:43:45.360225756 -0600
@@ -154,7 +154,10 @@
if (type == UNSET)
type = ZLIB;
if (patterns == NULL)
- add_pattern (".?(z)debug*");
+ {
+ add_pattern (".debug*");
+ add_pattern (".zdebug*");
+ }
break;
case ARGP_KEY_NO_ARGS:
@@ -1412,7 +1415,7 @@
"'zlib-gnu' (.zdebug GNU style compression, 'gnu' is an alias) or 'zstd' (ELF ZSTD compression)"),
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 a wildcard pattern (defaults to '.debug*' and '.zdebug*')"),
0 },
{ "verbose", 'v', NULL, 0,
N_("Print a message for each section being (de)compressed"),
|