aboutsummaryrefslogtreecommitdiff
path: root/elfcpp/elfcpp_file.h
AgeCommit message (Collapse)AuthorFilesLines
2009-12-14 * elfcpp_file.h: Revert last patch.Ian Lance Taylor1-5/+5
2009-12-11Add -Wshadow to the gcc command line options used when compiling the binutils.Nick Clifton1-5/+5
Fix up all warnings generated by the addition of this switch.
2009-11-252009-11-24 Rafael Avila de Espindola <espindola@google.com>Rafael Ávila de Espíndola1-0/+2
* Makefile.am: Build incremental-dump * Makefile.in: Regenerate. * incremental-dump.cc: New. * incremental.cc (Incremental_inputs_header_data, Incremental_inputs_entry_data): Move to incremental.h * incremental.h: (Incremental_inputs_header_data, Incremental_inputs_entry_data): Move from incremental.cc 2009-11-24 Rafael Avila de Espindola <espindola@google.com> * elfcpp_file.h: Include elfcpp.h.
2009-10-09 * elfcpp/elfcpp_file.h (Elf_file::section_name): Change shstr_sizeIan Lance Taylor1-1/+1
to Elf_WXword.
2009-10-09elfcpp/:Ian Lance Taylor1-0/+39
* elf_file.h: (class Elf_strtab): New class. gold/: * gold.cc: (queue_initial_tasks): Pass incremental_inputs to Incremental_checker. * incremental.cc: (INCREMENTAL_LINK_VERSION): Change type to unsigned int. (class Incremental_inputs_header): New class. (Incremental_inputs_header_writer): Edit comment. (Incremental_inputs_entry): New class. (Incremental_inputs_entry_writer): Edit comment. (Sized_incremental_binary::do_find_incremental_inputs_section): Add *strtab_shndx parameter, fill it. (Sized_incremental_binary::do_check_inputs): New method. (Incremental_checker::can_incrementally_link_output_file): Use Sized_incremental_binary::check_inputs. (Incremental_inputs::report_command_line): Save command line in command_line_. * incremental.h: (Incremental_binary::find_incremental_inputs_section): New method. (Incremental_binary::do_find_incremental_inputs_section): Add strtab_shndx parameter. (Incremental_binary::do_check_inputs): New pure virtual method. (Sized_incremental_binary::do_check_inputs): Declare. (Incremental_checker::Incremental_checker): Add incremental_inputs parameter, use it to initialize incremental_inputs_. (Incremental_checker::incremental_inputs_): New field. (Incremental_checker::command_line): New method. (Incremental_checker::inputs): New method. (Incremental_checker::command_line_): New field.
2009-10-09elfcpp/:Ian Lance Taylor1-1/+164
* elfcpp_file.h: Fix header guard. Include <cstdio>. (class Elf_recognizer): New class, code from gold/object.cc. (Elf_file::find_section_by_type): New method. gold/: * incremental.cc: Include <cstdarg> and "target-select.h". (vexplain_no_incremental): New function. (explain_no_incremental): New function. (Incremental_binary::error): New method. (Sized_incremental_binary::do_find_incremental_inputs_section): New method. (make_sized_incremental_binary): New function. (open_incremental_binary): New function. (can_incrementally_link_file): Add checks if output is ELF and has inputs section. * incremental.h: Include "elfcpp_file.h" and "output.h". (Incremental_binary): New class. (Sized_incremental_binary): New class. (open_incremental_binary): Declare. * object.cc (is_elf_object): Use elfcpp::Elf_recognizer::is_elf_file. (make_elf_object): Use elfcpp::Elf_recognizer::is_valid_header. * output.h (Output_file::filesize): New method.
2008-04-19 * elfcpp_file.h (class Elf_file): Add large_shndx_offset_ field.Ian Lance Taylor1-1/+40
(Elf_file::large_shndx_offset): New function. (Elf_file::construct): Initialize large_shndx_offset_. (Elf_File::initialize_shnum): If necessary, adjust shstrndx_ and set large_shndx_offset_.
2008-02-07Implement --just-symbols, including -R FILE. Fix symbol values whenIan Lance Taylor1-0/+23
doing a relocatable link.
2008-02-04Fully implement the SECTIONS clause.Ian Lance Taylor1-0/+45
2007-11-09From Craig Silverstein: Implement section_info.Ian Lance Taylor1-0/+24
2007-11-02Reworked from Andrew Chatham: report error locations.Ian Lance Taylor1-0/+23
2007-09-22Add licensing text to every source file.Ian Lance Taylor1-0/+29
2007-09-19Add support for returning the section type.Ian Lance Taylor1-0/+23
2006-11-29Hash tables, dynamic section, i386 PLT, gold_assert.Ian Lance Taylor1-0/+23
2006-11-07Add Elf_file interface which can be used by both Sized_relobj andIan Lance Taylor1-0/+255
Sized_dynobj.