summaryrefslogtreecommitdiff
path: root/elfcpp/elfcpp_file.h
Commit message (Collapse)AuthorAgeFilesLines
* Update year range in copyright notice of binutils filesAlan Modra2020-01-011-1/+1
|
* Update year range in copyright notice of binutils filesAlan Modra2019-01-011-1/+1
|
* Update year range in copyright notice of binutils filesAlan Modra2018-01-031-1/+1
|
* Update year range in copyright notice of all files.Alan Modra2017-01-021-1/+1
|
* Copyright update for binutilsAlan Modra2016-01-011-1/+1
|
* ChangeLog rotatation and copyright year updateAlan Modra2015-01-021-1/+1
|
* Make Elf_file::section_name() a const function, so that it can be used inCary Coutant2014-09-021-4/+34
| | | | | | | | | | | | | | | | | | | | | | | | places where we have only a const Elf_file*. elfcpp/ * elfcpp_file.h (Elf_file::shnum): New const function. (Elf_file::shstrndx): New const function. (Elf_file::large_shndx_offset): New const function. (Elf_file::section_name): Add const attribute. (Elf_file::section_header_offset): Likewise. gold/ * dwp.cc (Sized_relobj_dwo::do_section_name): Add const attribute. * dynobj.h (Sized_dynobj::do_section_name): Likewise. * incremental.cc (Sized_relobj_incr::do_section_name): Likewise. (Sized_incr_dynobj::do_section_name): Likewise. * incremental.h (Sized_relobj_incr::do_section_name): Likewise. (Sized_incr_dynobj::do_section_name): Likewise. * object.h (Object::section_name): Likewise. (Object::do_section_name): Likewise. (Sized_relobj_file::do_section_name): Likewise. * plugin.cc (Sized_pluginobj::do_section_name): Likewise. * plugin.h (Sized_pluginobj::do_section_name): Likewise.
* Update copyright yearsAlan Modra2014-03-051-1/+1
|
* * elfcpp_file.h: Revert last patch.Ian Lance Taylor2009-12-141-5/+5
|
* Add -Wshadow to the gcc command line options used when compiling the binutils.Nick Clifton2009-12-111-5/+5
| | | | Fix up all warnings generated by the addition of this switch.
* 2009-11-24 Rafael Avila de Espindola <espindola@google.com>Rafael Ávila de Espíndola2009-11-251-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.
* * elfcpp/elfcpp_file.h (Elf_file::section_name): Change shstr_sizeIan Lance Taylor2009-10-091-1/+1
| | | | to Elf_WXword.
* elfcpp/:Ian Lance Taylor2009-10-091-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.
* elfcpp/:Ian Lance Taylor2009-10-091-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.
* * elfcpp_file.h (class Elf_file): Add large_shndx_offset_ field.Ian Lance Taylor2008-04-191-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_.
* Implement --just-symbols, including -R FILE. Fix symbol values whenIan Lance Taylor2008-02-071-0/+23
| | | | doing a relocatable link.
* Fully implement the SECTIONS clause.Ian Lance Taylor2008-02-041-0/+45
|
* From Craig Silverstein: Implement section_info.Ian Lance Taylor2007-11-091-0/+24
|
* Reworked from Andrew Chatham: report error locations.Ian Lance Taylor2007-11-021-0/+23
|
* Add licensing text to every source file.Ian Lance Taylor2007-09-221-0/+29
|
* Add support for returning the section type.Ian Lance Taylor2007-09-191-0/+23
|
* Hash tables, dynamic section, i386 PLT, gold_assert.Ian Lance Taylor2006-11-291-0/+23
|
* Add Elf_file interface which can be used by both Sized_relobj andIan Lance Taylor2006-11-071-0/+255
Sized_dynobj.