aboutsummaryrefslogtreecommitdiff
path: root/binutils/Makefile.am
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2016-01-28 13:29:53 -0800
committerH.J. Lu <hjl.tools@gmail.com>2016-01-28 13:29:53 -0800
commitbf150a0bad8d3fcfa17f5d6b5a5ca75efae855ed (patch)
treef52bdea6825b37b8dae31c51509af6bf7810b97c /binutils/Makefile.am
parent935c61442bc369c0cf9db6f998ef6a18ba83a116 (diff)
downloadgdb-bf150a0bad8d3fcfa17f5d6b5a5ca75efae855ed.zip
gdb-bf150a0bad8d3fcfa17f5d6b5a5ca75efae855ed.tar.gz
gdb-bf150a0bad8d3fcfa17f5d6b5a5ca75efae855ed.tar.bz2
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.
Diffstat (limited to 'binutils/Makefile.am')
-rw-r--r--binutils/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/Makefile.am b/binutils/Makefile.am
index 39ef2ff..18af2c8 100644
--- a/binutils/Makefile.am
+++ b/binutils/Makefile.am
@@ -192,6 +192,7 @@ check-DEJAGNU: site.exp
EXPECT=$(EXPECT); export EXPECT; \
runtest=$(RUNTEST); \
if $(SHELL) -c "$$runtest --version" > /dev/null 2>&1; then \
+ CC="$(CC)" CC_FOR_BUILD="$(CC_FOR_BUILD)" \
CC_FOR_TARGET="$(CC_FOR_TARGET)" CFLAGS_FOR_TARGET="$(CFLAGS)" \
$$runtest --tool $(DEJATOOL) --srcdir $${srcdir}/testsuite \
$(RUNTESTFLAGS); \