aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2015-03-19 12:14:56 +0000
committerNick Clifton <nickc@redhat.com>2015-03-19 12:14:56 +0000
commite2575e05e73c3b2f08a8b5f579a504ac6a45ad60 (patch)
tree139f07c5ba65fa1b904490b6775bea9b8702d77a /gas
parent590d1e9a30f9180af725673fa06ea74fe822d21b (diff)
downloadgdb-e2575e05e73c3b2f08a8b5f579a504ac6a45ad60.zip
gdb-e2575e05e73c3b2f08a8b5f579a504ac6a45ad60.tar.gz
gdb-e2575e05e73c3b2f08a8b5f579a504ac6a45ad60.tar.bz2
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.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/i386/dw2-compress-1.d2
2 files changed, 7 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index f814d36..4e3b1ec 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-19 Nick Clifton <nickc@redhat.com>
+
+ PR gas/18087
+ * gas/i386/dw2-compress-1.d: Allow the test to pass regardless of
+ whether the .debug_info section was compressed on not.
+
2015-03-18 H.J. Lu <hongjiu.lu@intel.com>
PR gas/18087
diff --git a/gas/testsuite/gas/i386/dw2-compress-1.d b/gas/testsuite/gas/i386/dw2-compress-1.d
index c29a26c..da0c2b8 100644
--- a/gas/testsuite/gas/i386/dw2-compress-1.d
+++ b/gas/testsuite/gas/i386/dw2-compress-1.d
@@ -2,7 +2,7 @@
#readelf: -w
#name: DWARF2 debugging information 1
-Contents of the .zdebug_info section:
+Contents of the .*debug_info section:
Compilation Unit @ offset 0x0:
Length: 0x4e \(32-bit\)