+2015-03-19 Nick Clifton <nickc@redhat.com>
+
+ PR 18078
+ * compress.c (bfd_compress_section_contents): Do not define this
+ function if it is not used.
+
2015-03-18 H.J. Lu <hongjiu.lu@intel.com>
* compress.c (bfd_compress_section_contents): Make it static.
rc |= inflateEnd (&strm);
return rc == Z_OK && strm.avail_out == 0;
}
-#endif
/* Compress data of the size specified in @var{uncompressed_size}
and pointed to by @var{uncompressed_buffer} using zlib and store
bfd_byte *uncompressed_buffer ATTRIBUTE_UNUSED,
bfd_size_type uncompressed_size ATTRIBUTE_UNUSED)
{
-#ifndef HAVE_ZLIB_H
- bfd_set_error (bfd_error_invalid_operation);
- return FALSE;
-#else
uLong compressed_size;
bfd_byte *compressed_buffer;
sec->compress_status = COMPRESS_SECTION_DONE;
return TRUE;
-#endif /* HAVE_ZLIB_H */
}
+#endif /* HAVE_ZLIB_H */
/*
FUNCTION
+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
#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\)