Implement --push-state/--pop-state.
authorCary Coutant <ccoutant@gmail.com>
Fri, 2 Dec 2016 00:32:38 +0000 (16:32 -0800)
committerCary Coutant <ccoutant@gmail.com>
Fri, 2 Dec 2016 00:33:08 +0000 (16:33 -0800)
commit376c3ecd17d0636bcf4e527c2e2ca2f94822fe64
tree972697333f871a499fd72fa29308d36aa3ca31b1
parent6a67d49e559b432ead2859e9bb327852adb53112
Implement --push-state/--pop-state.

gold/
PR gold/18989
* options.cc (General_options::object_format_to_string): New function.
(General_options::copy_from_posdep_options): New function.
(General_options::parse_push_state): New function.
(General_options::parse_pop_state): New function.
* options.h (--push-state, --pop-state): New options.
(General_options::object_format_to_string): New method.
(General_options::set_incremental_disposition): New method.
(General_options::copy_from_posdep_options): New method.
(General_options::options_stack_): New data member.
gold/ChangeLog
gold/options.cc
gold/options.h