* options.h (enum Incremental_disposition): Define.
authorIan Lance Taylor <ian@airs.com>
Fri, 6 Feb 2009 23:49:43 +0000 (23:49 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 6 Feb 2009 23:49:43 +0000 (23:49 +0000)
commit266d0a7434a91dead63fe66891fcf17f5c6b187c
tree535d1e64fcb1b72532e615f7bcecd17c24e2ba57
parentfedc618eee02ae10102122a38fb696d520186b63
* options.h (enum Incremental_disposition): Define.
(class General_options): Add new options: --incremental,
--incremental_changed, --incremental_unchanged,
--incremental_unknown.  Add incremental_disposition_ and
implicit_incremental_ fields.
(General_options::incremental_disposition): New function.
(class Position_dependent_options): Add incremental_disposition
option.
(Position_dependent_options::copy_from_options): Set incremental
dispositions.
* options.cc (General_options::parse_incremental_changed): New
function.
        (General_options::parse_incremental_unchanged): New function.
        (General_options::parse_incremental_unknown): New function.
        (General_options::General_options): Initialize new fields
incremental_disposition_ and implicit_incremental_.
        (General_options::finalize): Check for uasge of --incremental-*
without --incremental.
gold/ChangeLog
gold/options.cc
gold/options.h