Don't compress empty debug sections.
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 18 Jan 2011 18:55:59 +0000 (18:55 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 18 Jan 2011 18:55:59 +0000 (18:55 +0000)
commit24a2d04da085e1e795c6e271ae43235383b53a04
tree78eff6f416fc224bed3fe180061170fafcb96849
parent2b52916eef5b07a8651af45db0992936f98263d2
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