From 126f3ece278737f6cac83e7e6f251579cc0e4eee Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 3 Apr 2008 14:18:37 +0000 Subject: * compressed_output.h (class Output_compressed_section): Use unsigned buffer. * compressed_output.cc (zlib_compress): Use unsigned buffers, add zlib header. (zlib_compressed_suffix): Removed. (Output_compressed_section::set_final_data_size): Use unsigned buffers. * testsuite/Makefile.am (flagstest_compress_debug_sections): Fix linker invocation. (flagstest_o_specialfile_and_compress_debug_sections): Likewise. * testsuite/Makefile.in: Regenerated. --- gold/compressed_output.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gold/compressed_output.h') diff --git a/gold/compressed_output.h b/gold/compressed_output.h index 300b064..11b2762 100644 --- a/gold/compressed_output.h +++ b/gold/compressed_output.h @@ -64,7 +64,7 @@ class Output_compressed_section : public Output_section // The options--this includes the compression type. const General_options* options_; // The compressed data. - char* data_; + unsigned char* data_; // The new section name if we do compress. std::string new_section_name_; }; -- cgit v1.1