This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Add SHF_COMPRESSED support to gas and objcopy
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: hjl dot tools at gmail dot com
- Cc: binutils at sourceware dot org
- Date: Thu, 9 Apr 2015 18:00:18 +0200
- Subject: Re: [PATCH] Add SHF_COMPRESSED support to gas and objcopy
- Authentication-results: sourceware.org; auth=none
> From: "H.J. Lu" <hongjiu.lu@intel.com>
> Date: Mon, 6 Apr 2015 21:32:08 +0200
> Any comments, suggestions or objections?
> binutils/testsuite/
>
> * compress.exp: Add tests for
> --compress-debug-sections=3D{none|zlib|zlib-gnu|zlib-gabi}.
> * binutils-all/dw2-3.rS: New file.
> * binutils-all/dw2-3.rt: Likewise.
> * binutils-all/libdw2-compressedgabi.out: Likewise.
The new tests fail for cris-elf, cris-linux:
Running /tmp/hpautotest-binutils/bsrc/src/binutils/testsuite/binutils-all/compress.exp ...
FAIL: objcopy (objcopy compress debug sections with zlib-gabi)
In binutils.log:
Executing on host: /tmp/hpautotest-binutils/cris-axis-elf/binutils/objcopy --compress-debug-sections=zlib-gabi tmpdir/dw
2-1.o tmpdir/debug_str.copygabi.o (timeout = 300)
spawn /tmp/hpautotest-binutils/cris-axis-elf/binutils/objcopy --compress-debug-sections=zlib-gabi tmpdir/dw2-1.o tmpdir/debug_str.copygabi.o
/tmp/hpautotest-binutils/cris-axis-elf/binutils/objcopy: --compress-debug-sections=[zlib|zlib-gnu|zlib-gabi] is unsupported for `a.out-cris'
/tmp/hpautotest-binutils/cris-axis-elf/binutils/objcopy: --compress-debug-sections=[zlib|zlib-gnu|zlib-gabi] is unsupported for `a.out-cris'
FAIL: objcopy (objcopy compress debug sections with zlib-gabi)
There's not a.out-cris object involved; the object format is
misinterpreted supposedly in the presence of the compressed
debug. (I checked the files.)
brgds, H-P