Don't compress empty debug sections.
commit62b3d97d4c7ff601bfc625ef6639908fab4eba27
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 18 Jan 2011 18:55:58 +0000 (18 18:55 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 18 Jan 2011 18:55:58 +0000 (18 18:55 +0000)
treefcd35dabd32712bbaa2f954f9fc3461ec91fb39e
parent39da3aaf886927a67633d9eb5c9fcd4049c2b55f
Don't compress empty debug sections.

gas/

2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/12409
* write.c (compress_debug): Return if section size is 0.

gas/testsuite/

2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/12409
* gas/elf/dwarf2-4.d: New.
* gas/elf/dwarf2-4.s: Likewise.
gas/ChangeLog
gas/testsuite/ChangeLog
gas/testsuite/gas/elf/dwarf2-4.d [new file with mode: 0644]
gas/testsuite/gas/elf/dwarf2-4.s [new file with mode: 0644]
gas/testsuite/gas/elf/elf.exp
gas/write.c