Set BFD_DECOMPRESS to decompress debug sections
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 28 Jan 2016 21:29:53 +0000 (13:29 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 28 Jan 2016 21:29:53 +0000 (13:29 -0800)
commitbf150a0bad8d3fcfa17f5d6b5a5ca75efae855ed
treef52bdea6825b37b8dae31c51509af6bf7810b97c
parent935c61442bc369c0cf9db6f998ef6a18ba83a116
Set BFD_DECOMPRESS to decompress debug sections

We should set BFD_DECOMPRESS to decompress debug sections when reading in
DWARF debug sections.

bfd/

PR binutils/19523
* dwarf2.c (_bfd_dwarf2_slurp_debug_info): Set BFD_DECOMPRESS to
decompress debug sections.

binutils/

PR binutils/19523
* Makefile.am (check-DEJAGNU): Pass CC and CC_FOR_BUILD to
runtest.
* Makefile.in: Regenerated.
* testsuite/binutils-all/compress.exp (test_gnu_debuglink): New
proc.
Run test_gnu_debuglink for native ELF build.
bfd/ChangeLog
bfd/dwarf2.c
binutils/ChangeLog
binutils/Makefile.am
binutils/Makefile.in
binutils/testsuite/binutils-all/compress.exp