summaryrefslogtreecommitdiff
path: root/gold/compressed_output.cc
Commit message (Collapse)AuthorAgeFilesLines
* * compressed_output.cc (zlib_decompress): Fix signature inIan Lance Taylor2010-07-131-1/+1
| | | | !HAVE_ZLIB_H case.
* * compressed_output.cc (zlib_decompress): New function.Cary Coutant2010-07-121-4/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (get_uncompressed_size): New function. (decompress_input_section): New function. * compressed_output.h (get_uncompressed_size): New function. (decompress_input_section): New function. * dwarf_reader.cc (Sized_dwarf_line_info::Sized_dwarf_line_info) Handle compressed debug sections. * layout.cc (is_compressed_debug_section): New function. (Layout::output_section_name): Map compressed section names to canonical names. * layout.h (is_compressed_debug_section): New function. (is_debug_info_section): Recognize compressed debug sections. * merge.cc: Include compressed_output.h. (Output_merge_data::do_add_input_section): Handle compressed debug sections. (Output_merge_string::do_add_input_section): Handle compressed debug sections. * object.cc: Include compressed_output.h. (Sized_relobj::Sized_relobj): Initialize new data members. (build_compressed_section_map): New function. (Sized_relobj::do_read_symbols): Handle compressed debug sections. * object.h (Object::section_is_compressed): New method. (Object::do_section_is_compressed): New method. (Sized_relobj::Compressed_section_map): New type. (Sized_relobj::do_section_is_compressed): New method. (Sized_relobj::compressed_sections_): New data member. * output.cc (Output_section::add_input_section): Handle compressed debug sections. * reloc.cc: Include compressed_output.h. (Sized_relobj::write_sections): Handle compressed debug sections.
* Revert -Wshadow changes, all changes from:Ian Lance Taylor2009-12-141-7/+7
| | | | | | 2009-12-11 Doug Kwan <dougkwan@google.com> 2009-12-11 Nick Clifton <nickc@redhat.com> * configure.ac: Remove -Wshadow when setting WARN_CXXFLAGS.
* Add -Wshadow to the gcc command line options used when compiling the binutils.Nick Clifton2009-12-111-7/+7
| | | | Fix up all warnings generated by the addition of this switch.
* * compressed_output.h (class Output_compressed_section): UseIan Lance Taylor2008-04-031-21/+22
| | | | | | | | | | | | | | 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.
* Update copyright years. Update language files.Ian Lance Taylor2008-03-131-1/+1
|
* From Craig Silverstein: rework option handling to make it easier toIan Lance Taylor2008-03-041-1/+1
| | | | add a new option.
* From Craig Silverstein: Have Parameters point to General_options.Ian Lance Taylor2008-02-281-1/+1
|
* From Craig Silverstein: rename option functions for future optionIan Lance Taylor2008-02-261-1/+1
| | | | handling rewrite.
* Don't include options.h in fileread.h. Remove General_optionsIan Lance Taylor2008-01-181-0/+1
| | | | reference from Output_file class.
* Compress all debug sections.Ian Lance Taylor2007-12-011-152/+25
|
* From Cary Coutant: Avoid compilation warnings if no zlib.h.Ian Lance Taylor2007-11-301-4/+12
|
* From Craig Silverstein: Add support for compressing .debug_str section.Ian Lance Taylor2007-11-301-0/+267