Commit | Line | Data |
---|---|---|
bd52eafb BE |
1 | 2008-03-25 Ben Elliston <bje@au.ibm.com> |
2 | ||
3 | * yyscript.y: Fix spelling error in comment. | |
4 | ||
8b105e34 ILT |
5 | 2008-03-24 Ian Lance Taylor <iant@google.com> |
6 | ||
8ed814a9 ILT |
7 | * options.h (class General_options): Define build_id option. |
8 | * layout.h (class Layout): Declare write_build_id, create_note, | |
9 | create_build_id. Add build_id_note_ member. | |
10 | * layout.cc: Include <cerrno>, <fcntl.h>, <unistd.h>, | |
11 | "libiberty.h", "md5.h", "sha1.h". | |
12 | (Layout::Layout): Initialize eh_frame_data_, | |
13 | eh_frame_hdr_section_, and build_id_note_. | |
14 | (Layout::finalize): Call create_build_id. | |
15 | (Layout::create_note): New function, broken out of | |
16 | Layout::create_gold_note. | |
17 | (Layout::create_gold_note): Call create_note. | |
18 | (Layout::create_build_id): New function. | |
19 | (Layout::write_build_id): New function. | |
20 | (Close_task_runner::run): Call write_build_id. | |
21 | ||
8b105e34 ILT |
22 | * x86_64.cc: Correct license to GPLv3. |
23 | ||
086a1841 ILT |
24 | 2008-03-23 Ian Lance Taylor <iant@google.com> |
25 | ||
26 | * options.cc: Include "demangle.h". | |
27 | (parse_optional_string): New function. | |
28 | (parse_long_option): Handle takes_optional_argument. | |
29 | (parse_short_option): Update dash_z initializer. Handle | |
30 | takes_optional_argument. | |
31 | (General_options::General_options): Initialize do_demangle_. | |
32 | (General_options::finalize): Set do_demangle_. Handle demangling | |
33 | style. | |
34 | * options.h (parse_optional_string): Declare. | |
35 | (struct One_option): Add optional_arg field. Update constructor. | |
36 | Update call constructor calls. Add takes_optional_argument | |
37 | function. | |
38 | (DEFINE_var): Add optional_arg__ parameter. Change all callers. | |
39 | (DEFINE_optional_string): Define. | |
40 | (General_options::demangle): Change from DEFINE_bool to | |
41 | DEFINE_optional_string. | |
42 | (General_options::no_demangle): New function. | |
43 | (General_options::do_demangle): New function. | |
44 | (General_options::set_do_demangle): New function. | |
45 | (General_options::execstack_status_): Move definition to end of | |
46 | class definition. | |
47 | (General_options::static_): Likewise. | |
48 | (General_options::do_demangle_): New field. | |
49 | * object.cc (big_endian>::get_symbol_location_info): Call | |
50 | Options::do_demangle, not Options::demangle. | |
51 | * symtab.cc (demangle): Likewise. | |
52 | ||
cbb93e63 ILT |
53 | 2008-03-22 Ian Lance Taylor <iant@google.com> |
54 | ||
55 | * gold.h: Include <cstddef> and <sys/types.h> | |
56 | * options.h: Include <cstring>. | |
57 | ||
ec531623 ILT |
58 | 2008-03-21 Ian Lance Taylor <iant@google.com> |
59 | ||
60 | * Added source code to GNU binutils. | |
61 |