Fix building and testing dwarf debug section compression feature when zlib is not...
authorNick Clifton <nickc@redhat.com>
Thu, 19 Mar 2015 12:14:56 +0000 (12:14 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 19 Mar 2015 12:14:56 +0000 (12:14 +0000)
commite2575e05e73c3b2f08a8b5f579a504ac6a45ad60
tree139f07c5ba65fa1b904490b6775bea9b8702d77a
parent590d1e9a30f9180af725673fa06ea74fe822d21b
Fix building and testing dwarf debug section compression feature when zlib is not available.

PR gas/18087
gas/test * gas/i386/dw2-compress-1.d: Allow the test to pass regardless of
whether the .debug_info section was compressed on not.

bfd * compress.c (bfd_compress_section_contents): Do not define this
function if it is not used.
bfd/ChangeLog
bfd/compress.c
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/dw2-compress-1.d