aboutsummaryrefslogtreecommitdiff
path: root/gold/compressed_output.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2008-04-03 14:18:37 +0000
committerIan Lance Taylor <ian@airs.com>2008-04-03 14:18:37 +0000
commit126f3ece278737f6cac83e7e6f251579cc0e4eee (patch)
tree70d0e01a42bc99c2fc44f946e19577d5305a31c0 /gold/compressed_output.h
parentc0f3af977b0f28a0dc5a620110b8dcf9d8286f84 (diff)
downloadgdb-126f3ece278737f6cac83e7e6f251579cc0e4eee.zip
gdb-126f3ece278737f6cac83e7e6f251579cc0e4eee.tar.gz
gdb-126f3ece278737f6cac83e7e6f251579cc0e4eee.tar.bz2
* 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.
Diffstat (limited to 'gold/compressed_output.h')
-rw-r--r--gold/compressed_output.h2
1 files changed, 1 insertions, 1 deletions
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_;
};