]> git.ipfire.org Git - thirdparty/elfutils.git/commit
strip.c: Apply --permissive when writing the debug file
authorAaron Merey <amerey@redhat.com>
Tue, 23 Jul 2024 19:26:26 +0000 (15:26 -0400)
committerAaron Merey <amerey@redhat.com>
Tue, 23 Jul 2024 19:36:03 +0000 (15:36 -0400)
commit27a64ef36a09a489c0e70e8c6bc1a2783ea1d714
treeec6de5b5ffb2b2b57df1212ffca3bbbeb236de71
parent7508696d107ca01b65ce8273c881462a8658f90f
strip.c: Apply --permissive when writing the debug file

The --permissive command line option is applied when writing the binary
being stripped but is not applied when writing its separate debug file.

Change this so that --permissive applies to writing the debug file as well.

Signed-off-by: Aaron Merey <amerey@redhat.com>
src/strip.c