forked from Imagelibrary/binutils-gdb
* incremental.cc (Sized_incremental_binary::do_file_has_changed):
Check disposition for startup file. (Incremental_inputs::report_command_line): Ignore --incremental-startup-unchanged option. * options.cc (General_options::parse_incremental_startup_unchanged): New function. (General_options::General_options): Initialize new data member. * options.h (Incremental_disposition): Add INCREMENTAL_STARTUP. (General_options): Add --incremental-startup-unchanged option. (General_options::incremental_startup_disposition): New function. (General_options::incremental_startup_disposition_): New data member.
This commit is contained in:
@@ -397,6 +397,14 @@ General_options::parse_incremental_unknown(const char*, const char*,
|
||||
this->incremental_disposition_ = INCREMENTAL_CHECK;
|
||||
}
|
||||
|
||||
void
|
||||
General_options::parse_incremental_startup_unchanged(const char*, const char*,
|
||||
Command_line*)
|
||||
{
|
||||
this->implicit_incremental_ = true;
|
||||
this->incremental_startup_disposition_ = INCREMENTAL_UNCHANGED;
|
||||
}
|
||||
|
||||
void
|
||||
General_options::parse_library(const char*, const char* arg,
|
||||
Command_line* cmdline)
|
||||
@@ -910,7 +918,8 @@ General_options::General_options()
|
||||
plugins_(NULL),
|
||||
dynamic_list_(),
|
||||
incremental_mode_(INCREMENTAL_OFF),
|
||||
incremental_disposition_(INCREMENTAL_CHECK),
|
||||
incremental_disposition_(INCREMENTAL_STARTUP),
|
||||
incremental_startup_disposition_(INCREMENTAL_CHECK),
|
||||
implicit_incremental_(false),
|
||||
excluded_libs_(),
|
||||
symbols_to_retain_(),
|
||||
|
||||
Reference in New Issue
Block a user