diff options
author | Ian Lance Taylor <ian@airs.com> | 2008-04-03 14:18:37 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 2008-04-03 14:18:37 +0000 |
commit | 126f3ece278737f6cac83e7e6f251579cc0e4eee (patch) | |
tree | 70d0e01a42bc99c2fc44f946e19577d5305a31c0 /gold/compressed_output.h | |
parent | c0f3af977b0f28a0dc5a620110b8dcf9d8286f84 (diff) | |
download | gdb-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.h | 2 |
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_; }; |