Commit | Line | Data |
---|---|---|
874c5b28 ILT |
1 | 2008-03-25 Ian Lance Taylor <iant@google.com> |
2 | ||
3 | * README: Rewrite, with some notes on unsupported features. | |
4 | ||
0a65a3a7 CC |
5 | 2008-03-24 Cary Coutant <ccoutant@google.com> |
6 | ||
7 | * i386.cc (Target_i386::Got_type): New enum declaration. | |
8 | (Target_i386::Scan::local): Updated callers of Output_data_got | |
9 | member functions. | |
10 | (Target_i386::Scan::global): Likewise. | |
11 | (Target_i386::Relocate::relocate): Likewise. | |
12 | (Target_i386::Relocate::relocate_tls): Likewise. | |
13 | * object.h (Got_offset_list): New class. | |
14 | (Sized_relobj::local_has_got_offset): Added got_type parameter. | |
15 | (Sized_relobj::local_got_offset): Likewise. | |
16 | (Sized_relobj::set_local_got_offset): Likewise. | |
17 | (Sized_relobj::local_has_tls_got_offset): Removed. | |
18 | (Sized_relobj::local_tls_got_offset): Removed. | |
19 | (Sized_relobj::set_local_tls_got_offset): Removed. | |
20 | (Sized_relobj::Local_got_offsets): Changed to store a list of offsets. | |
21 | * output.cc (Output_data_got::add_global): Added got_type parameter. | |
22 | (Output_data_got::add_global_with_rel): Likewise. | |
23 | (Output_data_got::add_global_with_rela): Likewise. | |
24 | (Output_data_got::add_global_pair_with_rel): New function. | |
25 | (Output_data_got::add_global_pair_with_rela): New function. | |
26 | (Output_data_got::add_local): Added got_type parameter. | |
27 | (Output_data_got::add_local_with_rel): Likewise. | |
28 | (Output_data_got::add_local_with_rela): Likewise. | |
29 | (Output_data_got::add_local_pair_with_rel): New function. | |
30 | (Output_data_got::add_local_pair_with_rela): New function. | |
31 | (Output_data_got::add_global_tls): Removed. | |
32 | (Output_data_got::add_global_tls_with_rel): Removed. | |
33 | (Output_data_got::add_global_tls_with_rela): Removed. | |
34 | (Output_data_got::add_local_tls): Removed. | |
35 | (Output_data_got::add_local_tls_with_rel): Removed. | |
36 | (Output_data_got::add_local_tls_with_rela): Removed. | |
37 | * output.h (Output_data_got::add_global): Added got_type parameter. | |
38 | (Output_data_got::add_global_with_rel): Likewise. | |
39 | (Output_data_got::add_global_with_rela): Likewise. | |
40 | (Output_data_got::add_global_pair_with_rel): New function. | |
41 | (Output_data_got::add_global_pair_with_rela): New function. | |
42 | (Output_data_got::add_local): Added got_type parameter. | |
43 | (Output_data_got::add_local_with_rel): Likewise. | |
44 | (Output_data_got::add_local_with_rela): Likewise. | |
45 | (Output_data_got::add_local_pair_with_rel): New function. | |
46 | (Output_data_got::add_local_pair_with_rela): New function. | |
47 | (Output_data_got::add_global_tls): Removed. | |
48 | (Output_data_got::add_global_tls_with_rel): Removed. | |
49 | (Output_data_got::add_global_tls_with_rela): Removed. | |
50 | (Output_data_got::add_local_tls): Removed. | |
51 | (Output_data_got::add_local_tls_with_rel): Removed. | |
52 | (Output_data_got::add_local_tls_with_rela): Removed. | |
53 | * resolve.cc (Symbol::override_base_with_special): Removed | |
54 | reference to has_got_offset_ field. | |
55 | * symtab.cc (Symbol::init_fields): Replaced initialization | |
56 | of got_offset_ with got_offsets_. Removed initialization | |
57 | of has_got_offset_ | |
58 | *symtab.h (Symbol::has_got_offset): Aded got_type parameter. | |
59 | (Symbol::got_offset): Likewise. | |
60 | (Symbol::set_got_offset): Likewise. | |
61 | (Symbol::has_tls_got_offset): Removed. | |
62 | (Symbol::tls_got_offset): Removed. | |
63 | (Symbol::set_tls_got_offset): Removed. | |
64 | (Symbol::got_offset_): Removed. | |
65 | (Symbol::tls_mod_got_offset_): Removed. | |
66 | (Symbol::tls_pair_got_offset_): Removed. | |
67 | (Symbol::got_offsets_): New field. | |
68 | (Symbol::has_got_offset): Removed. | |
69 | (Symbol::has_tls_mod_got_offset): Removed. | |
70 | (Symbol::has_tls_pair_got_offset): Removed. | |
71 | * x86_64.cc (Target_x86_64::Got_type): New enum declaration. | |
72 | (Target_x86_64::Scan::local): Updated callers of Output_data_got | |
73 | member functions. | |
74 | (Target_x86_64::Scan::global): Likewise. | |
75 | (Target_x86_64::Relocate::relocate): Likewise. | |
76 | (Target_x86_64::Relocate::relocate_tls): Likewise. | |
77 | ||
bd52eafb BE |
78 | 2008-03-25 Ben Elliston <bje@au.ibm.com> |
79 | ||
80 | * yyscript.y: Fix spelling error in comment. | |
81 | ||
8b105e34 ILT |
82 | 2008-03-24 Ian Lance Taylor <iant@google.com> |
83 | ||
8ed814a9 ILT |
84 | * options.h (class General_options): Define build_id option. |
85 | * layout.h (class Layout): Declare write_build_id, create_note, | |
86 | create_build_id. Add build_id_note_ member. | |
87 | * layout.cc: Include <cerrno>, <fcntl.h>, <unistd.h>, | |
88 | "libiberty.h", "md5.h", "sha1.h". | |
89 | (Layout::Layout): Initialize eh_frame_data_, | |
90 | eh_frame_hdr_section_, and build_id_note_. | |
91 | (Layout::finalize): Call create_build_id. | |
92 | (Layout::create_note): New function, broken out of | |
93 | Layout::create_gold_note. | |
94 | (Layout::create_gold_note): Call create_note. | |
95 | (Layout::create_build_id): New function. | |
96 | (Layout::write_build_id): New function. | |
97 | (Close_task_runner::run): Call write_build_id. | |
98 | ||
8b105e34 ILT |
99 | * x86_64.cc: Correct license to GPLv3. |
100 | ||
086a1841 ILT |
101 | 2008-03-23 Ian Lance Taylor <iant@google.com> |
102 | ||
103 | * options.cc: Include "demangle.h". | |
104 | (parse_optional_string): New function. | |
105 | (parse_long_option): Handle takes_optional_argument. | |
106 | (parse_short_option): Update dash_z initializer. Handle | |
107 | takes_optional_argument. | |
108 | (General_options::General_options): Initialize do_demangle_. | |
109 | (General_options::finalize): Set do_demangle_. Handle demangling | |
110 | style. | |
111 | * options.h (parse_optional_string): Declare. | |
112 | (struct One_option): Add optional_arg field. Update constructor. | |
113 | Update call constructor calls. Add takes_optional_argument | |
114 | function. | |
115 | (DEFINE_var): Add optional_arg__ parameter. Change all callers. | |
116 | (DEFINE_optional_string): Define. | |
117 | (General_options::demangle): Change from DEFINE_bool to | |
118 | DEFINE_optional_string. | |
119 | (General_options::no_demangle): New function. | |
120 | (General_options::do_demangle): New function. | |
121 | (General_options::set_do_demangle): New function. | |
122 | (General_options::execstack_status_): Move definition to end of | |
123 | class definition. | |
124 | (General_options::static_): Likewise. | |
125 | (General_options::do_demangle_): New field. | |
126 | * object.cc (big_endian>::get_symbol_location_info): Call | |
127 | Options::do_demangle, not Options::demangle. | |
128 | * symtab.cc (demangle): Likewise. | |
129 | ||
cbb93e63 ILT |
130 | 2008-03-22 Ian Lance Taylor <iant@google.com> |
131 | ||
132 | * gold.h: Include <cstddef> and <sys/types.h> | |
133 | * options.h: Include <cstring>. | |
134 | ||
ec531623 ILT |
135 | 2008-03-21 Ian Lance Taylor <iant@google.com> |
136 | ||
137 | * Added source code to GNU binutils. | |
138 |