Xfail the compressed debug sections
authorH.J. Lu <hjl.tools@gmail.com>
Sun, 5 Apr 2015 15:11:11 +0000 (08:11 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sun, 5 Apr 2015 15:15:35 +0000 (08:15 -0700)
commit317974f6831d8c7af613257e190e0dc3125bc4cf
tree363e88c014db40a5b3f90fa48fb6807513f27ba5
parent20cc97536046f8aa883c3fba16aa1c9a2762f183
Xfail the compressed debug sections

There is no need to generate compressed debug section if compressed
section size is the same as before compression.  We should xfail the
compressed debug section test if there are no compressed sections

binutils/testsuite/

* binutils-all/compress.exp (compression_used): New.
Xfail test if compression didn't make the section smaller.

gas/

2015-04-05  H.J. Lu  <hongjiu.lu@intel.com>

* write.c (compress_debug): Don't write the zlib header if
compressed section size is the same as before compression.
binutils/testsuite/ChangeLog
binutils/testsuite/binutils-all/compress.exp
gas/ChangeLog
gas/write.c