Don't write the zlib header if not used
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 25 Mar 2015 02:06:22 +0000 (19:06 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 25 Mar 2015 02:06:22 +0000 (19:06 -0700)
commitb422eb499be2858969fb7723b4e4e08cab20fcdc
tree86d0c0d121a3f07de39ff7b38086694ff2a13644
parentf6d5c6943ba1f32a640137fcba92aa046bbf86ed
Don't write the zlib header if not used

No need to write the zlib header if compression didn't make the section
smaller.

PR gas/18087
* write.c (compress_debug): Don't write the zlib header if
compression didn't make the section smaller.
gas/ChangeLog
gas/write.c