diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2015-03-24 13:27:52 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2015-03-24 13:27:52 -0700 |
commit | 8d00121477371cfd1596118af062fe6ff4e263b7 (patch) | |
tree | 1187a8eb071e999258d7fd153cc174114767a14c /bfd/bfdwin.c | |
parent | 44a1ee517365cd120f0338c1f4dc5a85273d4e4b (diff) | |
download | gdb-8d00121477371cfd1596118af062fe6ff4e263b7.zip gdb-8d00121477371cfd1596118af062fe6ff4e263b7.tar.gz gdb-8d00121477371cfd1596118af062fe6ff4e263b7.tar.bz2 |
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 binutils/18087
* compress.c (bfd_compress_section_contents): Don't write the
zlib header and set contents as well as compress_status if
compression didn't make the section smaller.
(bfd_init_section_compress_status): Don't check compression
size here.
Diffstat (limited to 'bfd/bfdwin.c')
0 files changed, 0 insertions, 0 deletions