* options.cc: Include "demangle.h".
[deliverable/binutils-gdb.git] / gold / ChangeLog
1 2008-03-23 Ian Lance Taylor <iant@google.com>
2
3 * options.cc: Include "demangle.h".
4 (parse_optional_string): New function.
5 (parse_long_option): Handle takes_optional_argument.
6 (parse_short_option): Update dash_z initializer. Handle
7 takes_optional_argument.
8 (General_options::General_options): Initialize do_demangle_.
9 (General_options::finalize): Set do_demangle_. Handle demangling
10 style.
11 * options.h (parse_optional_string): Declare.
12 (struct One_option): Add optional_arg field. Update constructor.
13 Update call constructor calls. Add takes_optional_argument
14 function.
15 (DEFINE_var): Add optional_arg__ parameter. Change all callers.
16 (DEFINE_optional_string): Define.
17 (General_options::demangle): Change from DEFINE_bool to
18 DEFINE_optional_string.
19 (General_options::no_demangle): New function.
20 (General_options::do_demangle): New function.
21 (General_options::set_do_demangle): New function.
22 (General_options::execstack_status_): Move definition to end of
23 class definition.
24 (General_options::static_): Likewise.
25 (General_options::do_demangle_): New field.
26 * object.cc (big_endian>::get_symbol_location_info): Call
27 Options::do_demangle, not Options::demangle.
28 * symtab.cc (demangle): Likewise.
29
30 2008-03-22 Ian Lance Taylor <iant@google.com>
31
32 * gold.h: Include <cstddef> and <sys/types.h>
33 * options.h: Include <cstring>.
34
35 2008-03-21 Ian Lance Taylor <iant@google.com>
36
37 * Added source code to GNU binutils.
38
This page took 0.033208 seconds and 4 git commands to generate.