OSDN Git Service

Don't compress empty debug sections.
authorhjl <hjl>
Wed, 19 Jan 2011 03:55:58 +0000 (03:55 +0000)
committerhjl <hjl>
Wed, 19 Jan 2011 03:55:58 +0000 (03:55 +0000)
commit176b4f974b0701574b783a1d77e35c8c4e936c67
treecf931021187ae5a9277973e41600db3b93da97fc
parent293d5578ca80617042d3984835e77f702c1c18ff
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