]> git.ipfire.org Git - thirdparty/elfutils.git/commit
elfcompress: New utility.
authorMark Wielaard <mjw@redhat.com>
Tue, 1 Dec 2015 13:55:07 +0000 (14:55 +0100)
committerMark Wielaard <mjw@redhat.com>
Wed, 6 Jan 2016 13:27:10 +0000 (14:27 +0100)
commit92acb57eb0468de93c4976eb1de6bf08ede9abd0
tree27ba3b9926a47e97bafdcd126f4f6e64ea82453b
parente5f976bcb1b3a27bd89d8d32c0cebb0c14c0e6d2
elfcompress: New utility.

Usage: elfcompress [OPTION...] FILE...
Compress or decompress sections in an ELF file.

 -f, --force              Force compression of section even if it would
                          become larger
 -n, --name=SECTION       SECTION name to (de)compress, SECTION is an
                          extended wildcard pattern (defaults to
                          '.?(z)debug*')
 -o, --output=FILE        Place (de)compressed output into FILE
 -p, --permissive         Relax a few rules to handle slightly broken ELF
                          files
 -q, --quiet              Be silent when a section cannot be compressed
 -t, --type=TYPE          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)
 -v, --verbose            Print a message for each section being
                          (de)compressed
 -?, --help               Give this help list
     --usage              Give a short usage message
 -V, --version            Print program version

Signed-off-by: Mark Wielaard <mjw@redhat.com>
src/ChangeLog
src/Makefile.am
src/elfcompress.c [new file with mode: 0644]
tests/ChangeLog
tests/Makefile.am
tests/run-compress-test.sh [new file with mode: 0755]