aboutsummaryrefslogtreecommitdiff
path: root/gold/gold.cc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2009-10-09 16:40:51 +0000
committerIan Lance Taylor <ian@airs.com>2009-10-09 16:40:51 +0000
commitc549a6949c8cbbbeafa79ab903b172bbc5f2b8ea (patch)
treed7881e3b7056774b661607d3d3ae9e56e3a14ebf /gold/gold.cc
parente322137b9b864508a8b8f378ebb331589812ed18 (diff)
downloadgdb-c549a6949c8cbbbeafa79ab903b172bbc5f2b8ea.zip
gdb-c549a6949c8cbbbeafa79ab903b172bbc5f2b8ea.tar.gz
gdb-c549a6949c8cbbbeafa79ab903b172bbc5f2b8ea.tar.bz2
elfcpp/:
* 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.
Diffstat (limited to 'gold/gold.cc')
0 files changed, 0 insertions, 0 deletions