* incremental.cc (Sized_incremental_binary::setup_readers): Pass
commitfe12d79ce2dd35e3d295ffa45248c5bdda14ad7b
authorCary Coutant <ccoutant@google.com>
Wed, 6 Jul 2011 22:07:59 +0000 (6 22:07 +0000)
committerCary Coutant <ccoutant@google.com>
Wed, 6 Jul 2011 22:07:59 +0000 (6 22:07 +0000)
treecba2408675a10d0b3c36c9ae246f088e8d6f89d3
parent33168194adebad073d67d63e43d995c2201872ce
* incremental.cc (Sized_incremental_binary::setup_readers): Pass
input file index to Script_info ctor.
(Sized_incremental_binary::do_file_has_changed): Find the
command-line argument for files named in scripts.
* incremental.h (Script_info::Script_info): New ctor
with input file index.
(Script_info::input_file_index): New function.
(Script_info::input_file_index_): New data member.
(Incremental_binary::get_library): Add const.
(Incremental_binary::get_script_info): Add const.
* readsyms.cc (Read_member::is_runnable): Check for this_blocker_.
* testsuite/Makefile.am (incremental_test_5): New test case.
(incremental_test_6): New test case.
* testsuite/Makefile.in: Regenerate.
gold/ChangeLog
gold/incremental.cc
gold/incremental.h
gold/readsyms.cc
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in