Commit | Line | Data |
---|---|---|
b52717c0 VR |
1 | 2016-06-10 Vladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com> |
2 | ||
3 | * mips.cc (struct Mips_abiflags): New struct. | |
4 | (Mips_relobj::Mips_relobj): Initialize attributes_section_data_ | |
5 | and abiflags_. | |
6 | (Mips_relobj::~Mips_relobj): Delete object pointed by | |
7 | attributes_section_data_. | |
8 | (Mips_relobj::abiflags): New method. | |
9 | (Mips_relobj::attributes_section_data): Likewise. | |
10 | (Mips_relobj::attributes_section_data_): New data member. | |
11 | (Mips_relobj::abiflags_): Likewise. | |
12 | (class Mips_output_section_abiflags): New class. | |
13 | (Target_mips::Target_mips): Initialize attributes_section_data_, | |
14 | abiflags_ and has_abiflags_section_. | |
15 | (Target_mips::do_should_include_section): Don't emit input | |
16 | .MIPS.abiflags sections to output .MIPS.abiflags. | |
17 | (Target_mips::Mips_mach): Add new enum constants. | |
18 | (Target_mips::mips_isa_ext_mach): New method. | |
19 | (Target_mips::mips_isa_ext): Likewise. | |
20 | (Target_mips::update_abiflags_isa): Likewise. | |
21 | (Target_mips::infer_abiflags): Likewise. | |
22 | (Target_mips::create_abiflags): Likewise. | |
23 | (Target_mips::fp_abi_string): Likewise. | |
24 | (Target_mips::select_fp_abi): Likewise. | |
25 | (Target_mips::merge_obj_attributes): Likewise. | |
26 | (Target_mips::merge_obj_abiflags): Likewise. | |
27 | (Target_mips::level_rev): Likewise. | |
28 | (Target_mips::merge_obj_e_flags): Rename from | |
29 | merge_processor_specific_flags. Remove dyn_obj argument, | |
30 | call update_abiflags_isa when needed, compare NaN encodings and | |
31 | compare FP64 state. | |
32 | (Target_mips::add_machine_extensions): Add two machine extensions | |
33 | and fix one. | |
34 | (Target_mips::attributes_section_data_): New data member. | |
35 | (Target_mips::abiflags_): Likewise. | |
36 | (Target_mips::has_abiflags_section_): Likewise. | |
37 | (Mips_relobj::do_read_symbols): Read .gnu.attributes and | |
38 | .MIPS.abiflags sections if they exists. | |
39 | (Target_mips::elf_mips_mach): Add E_MIPS_MACH_5900 and | |
40 | E_MIPS_MACH_OCTEON3 support. | |
41 | (Target_mips::do_adjust_elf_header): Setup EI_ABIVERSION flag. | |
42 | (Target_mips::do_finalize_sections): Merge .gnu.attributes and | |
43 | .MIPS.abiflags sections from input. Create these sections if | |
44 | needed. | |
45 | (Target_mips::elf_mips_mach_name): Add E_MIPS_MACH_5900 and | |
46 | E_MIPS_MACH_OCTEON3 support, and change strings for | |
47 | E_MIPS_MACH_LS2E, E_MIPS_MACH_LS2F and E_MIPS_MACH_LS3A just | |
48 | to match bfd. | |
49 | ||
82e49872 VR |
50 | 2016-06-10 Vladimir Radosavljevic <Vladimir.Radosavljevic@imgtec.com> |
51 | ||
52 | * mips.cc (Mips_relobj::Mips_relobj): Initialize | |
53 | has_reginfo_section_. | |
54 | (Mips_relobj::has_reginfo_section_): New data member. | |
55 | (Mips_relobj::has_reginfo_section): New method. | |
56 | (class Mips_output_section_reginfo): Change base class to | |
57 | Output_section_data, and set masks of the output .reginfo section | |
58 | in constructor. | |
59 | (Mips_output_section_reginfo::as_mips_output_section_reginfo): | |
60 | Remove. | |
61 | (Mips_output_section_reginfo::set_masks): Likewise. | |
62 | (Mips_output_section_reginfo::set_final_data_size): Likewise. | |
63 | (Mips_output_section_reginfo::do_print_to_mapfile): New method. | |
64 | (Target_mips::do_make_output_section): Remove. | |
65 | (Mips_relobj::do_read_symbols): Set has_reginfo_section_ to true | |
66 | if the object contains a .reginfo section. | |
67 | (Target_mips::do_finalize_sections): Create a .reginfo output | |
68 | section if needed. | |
69 | ||
a080d84d AV |
70 | 2016-06-09 Artemiy Volkov <artemiyv@acm.org> |
71 | ||
72 | * mips.cc (Mips_output_data_got::do_write): Add missing template | |
73 | args via typedef. | |
74 | ||
40d85a7f MK |
75 | 2016-05-30 Marcin KoĆcielnicki <koriakin@0x04.net> |
76 | ||
77 | PR/19960 | |
78 | * s390.cc (Target_s390::ss_code_st_r14): Removed. | |
79 | (Target_s390::ss_code_l_r14): Removed. | |
80 | (Target_s390::ss_code_ear): Removed. | |
81 | (Target_s390::ss_code_c): Removed. | |
82 | (Target_s390::ss_match_st_r14): New function. | |
83 | (Target_s390::ss_match_l_r14): New function. | |
84 | (Target_s390::ss_match_mcount): Call ss_match_{l,st}_r14 instead | |
85 | of matching code directly. | |
86 | (Target_s390::ss_match_ear): New function. | |
87 | (Target_s390::ss_match_c): New function. | |
88 | (Target_s390::do_calls_non_split): Call ss_match_{ear,c} instead | |
89 | of matching code directly. | |
90 | ||
6eeb0170 CC |
91 | 2016-05-19 Cary Coutant <ccoutant@gmail.com> |
92 | ||
93 | PR gold/19823 | |
94 | * copy-relocs.cc (Copy_relocs::make_copy_reloc): Add object | |
95 | parameter; check for protected symbol. | |
96 | * copy-relocs.h (Copy_relocs::make_copy_reloc): Add object parameter. | |
97 | * mips.cc (Mips_copy_relocs): Adjust call to make_copy_reloc. | |
98 | * symtab.cc (Symbol::init_fields): Initialize is_protected_. | |
99 | (Symbol_table::add_from_dynobj): Mark protected symbols. | |
100 | * symtab.h (Symbol::is_protected): New method. | |
101 | (Symbol::set_is_protected): New method. | |
102 | (Symbol::is_protected_): New data member. | |
103 | ||
104 | * testsuite/Makefile.am (copy_test_protected): New test. | |
105 | * testsuite/Makefile.in: Regenerate. | |
106 | * testsuite/copy_test.cc (main): Add legal reference to protected | |
107 | symbol. | |
108 | * testsuite/copy_test_v1.cc (main): Likewise. | |
109 | * testsuite/copy_test_2.cc (ip): Add protected symbol. | |
110 | * testsuite/copy_test_protected.cc: New test source file. | |
111 | * testsuite/copy_test_protected.sh: New test script. | |
112 | ||
15eb1beb VR |
113 | 2016-05-19 Vladimir Radosavljevic <vladimir.radosavljevic@imgtec.com> |
114 | ||
115 | * mips.cc (Mips_got_entry::Mips_got_entry): Remove object argument | |
116 | for global got symbols, and set addend to 0. | |
117 | (Mips_got_entry::hash): Change hash algorithm. | |
118 | (Mips_got_entry::equals): Refactor. | |
119 | (Mips_got_entry::object): Return input object for local got symbols | |
120 | from union d. | |
121 | (Mips_got_entry::addend): Change return of the relocation addend. | |
122 | (Mips_got_entry::addend_): Move from union d. | |
123 | (Mips_got_entry::object_): Move into union d. | |
124 | (class Mips_symbol_hash): New class. | |
125 | (Mips_got_info::Global_got_entry_set): New type. | |
126 | (Mips_got_info::global_got_symbols): Change return type to | |
127 | Global_got_entry_set. | |
128 | (Mips_got_info::global_got_symbols_): Change type to | |
129 | Global_got_entry_set. | |
130 | (Mips_symbol::hash): New method. | |
131 | (Mips_output_data_la25_stub::symbols_): Change type to std::vector. | |
132 | (Mips_output_data_mips_stubs::Mips_stubs_entry_set): New type. | |
133 | (Mips_output_data_mips_stubs::symbols_): Change type to | |
134 | Mips_stubs_entry_set. | |
135 | (Mips_got_info::record_global_got_symbol): Don't pass object | |
136 | argument when creating global got symbol. | |
137 | (Mips_got_info::record_got_entry): Remove find before inserting | |
138 | got entries. | |
139 | (Mips_got_info::add_reloc_only_entries): Change type of iterator | |
140 | to Global_got_entry_set. | |
141 | (Mips_got_info::count_got_symbols): Likewise. | |
142 | (Mips_output_data_la25_stub::create_la25_stub): Use push_back | |
143 | for adding entries to symbols_. | |
144 | (Mips_output_data_la25_stub::do_write): Change type of iterator | |
145 | to std::vector. | |
146 | (Mips_output_data_mips_stubs::set_lazy_stub_offsets): Change type | |
147 | of iterator to Mips_stubs_entry_set. | |
148 | (Mips_output_data_mips_stubs::set_needs_dynsym_value): Likewise. | |
149 | (Mips_output_data_mips_stubs::do_write): Likewise. | |
150 | ||
5c28a503 HS |
151 | 2016-05-06 Han Shen <shenhan@google.com> |
152 | ||
153 | PR gold/19987. | |
154 | ||
155 | * aarch64-reloc.def: New relocation type. | |
156 | * aarch64.cc (AArch64_relocate_functions::Page): Changed to public. | |
157 | (Target_aarch64::Scan::local): Add R_AARCH64_LD64_GOTPAGE_LO15. | |
158 | (Target_aarch64::Scan::global): Add R_AARCH64_LD64_GOTPAGE_LO15. | |
159 | (Target_aarch64::Relocate::relocate): Implement R_AARCH64_LD64_GOTPAGE_LO15. | |
160 | ||
786a118c NC |
161 | 2016-04-28 Nick Clifton <nickc@redhat.com> |
162 | ||
163 | * po/zh_CN.po: Updated Chinese (simplified) translation. | |
164 | ||
6fd8e7c2 L |
165 | 2016-04-15 H.J. Lu <hongjiu.lu@intel.com> |
166 | ||
167 | * Makefile.in: Regenerated with automake 1.11.6. | |
168 | * aclocal.m4: Likewise. | |
169 | * testsuite/Makefile.in: Likewise. | |
170 | ||
b60ecbc6 CC |
171 | 2016-03-30 Cary Coutant <ccoutant@gmail.com> |
172 | ||
173 | PR gold/16979 | |
174 | * symtab.cc (Symbol_table::define_default_version): Check for case | |
175 | where symbols are both in different shared objects. | |
176 | ||
ed700649 CC |
177 | 2016-03-27 Cary Coutant <ccoutant@gmail.com> |
178 | ||
179 | PR gold/16111 | |
180 | * i386.cc (Target_i386): Add check for fully-resolved symbol for | |
181 | R_386_GOTOFF. | |
182 | ||
9780e045 NC |
183 | 2016-03-22 Nick Clifton <nickc@redhat.com> |
184 | ||
185 | * configure: Regenerate. | |
186 | ||
648c5cbb CC |
187 | 2016-03-21 Cary Coutant <ccoutant@gmail.com> |
188 | ||
189 | PR gold/19842 | |
190 | * errors.cc (Errors::undefined_symbol): Add info message when | |
191 | symbol should have been provided by a plugin. | |
192 | * target-reloc.h (issue_undefined_symbol_error): Check for | |
193 | placeholder symbols defined in discarded sections. | |
194 | * testsuite/Makefile.am (plugin_test_9b): New test case. | |
195 | * testsuite/Makefile.in: Regenerate. | |
196 | * testsuite/plugin_test_9b_elf.cc: New test source file. | |
197 | * testsuite/plugin_test_9b_ir.cc: New test source file. | |
198 | ||
698400bf CC |
199 | 2016-03-20 Cary Coutant <ccoutant@gmail.com> |
200 | ||
201 | PR gold/19002 | |
202 | * ehframe.cc (Eh_frame::read_fde): Check for dropped functions. | |
203 | * testsuite/Makefile.am (eh_test_2): New test. | |
204 | * testsuite/Makefile.in: Regenerate. | |
205 | * testsuite/eh_test_2.sh: New test script. | |
206 | * testsuite/eh_test_a.cc (bar): Make it comdat. | |
207 | * testsuite/eh_test_b.cc (bar): Add a duplicate copy. | |
208 | ||
01b84e25 VR |
209 | 2016-03-18 Vladimir Radosavljevic <vladimir.radosavljevic@imgtec.com> |
210 | ||
211 | * mips.cc (Mips_relobj::is_n64_): Remove. | |
212 | (Target_mips::ei_class_): Likewise. | |
213 | (Mips_relobj::is_newabi): Call methods. | |
214 | (Mips_relobj::is_n64): Change checking for N64 ABI. | |
215 | (Target_mips::is_output_n64): Likewise. | |
216 | (Target_mips::merge_processor_specific_flags): Remove ei_class | |
217 | argument, and remove comparing ei_class. | |
218 | (Target_mips::do_adjust_elf_header): Remove setting EI_CLASS field | |
219 | of the ELF header. | |
220 | (Target_mips::do_finalize_sections): Don't pass ei_class argument | |
221 | to merge_processor_specific_flags. | |
222 | (Target_mips::elf_mips_abi_name): Remove ei_class argument, and | |
223 | change checking for N64 ABI. | |
224 | ||
47a9f4fc VR |
225 | 2016-03-17 Vladimir Radosavljevic <vladimir.radosavljevic@imgtec.com> |
226 | ||
227 | * mips.cc (enum Special_relocation_symbol): New enum type. | |
228 | (is_readonly_section): New function. | |
229 | (eh_reloc): Likewise. | |
230 | (Mips_got_entry::is_section_symbol_): New member. | |
231 | (Mips_got_entry::is_section_symbol): New method. | |
232 | (Mips_got_info::record_local_got_symbol): Add is_section_symbol | |
233 | argument. | |
234 | (Mips_relobj::mips_elf_options_section_name): New method. | |
235 | (Mips_output_data_got::record_local_got_symbol): Add | |
236 | is_section_symbol argument, and pass it to | |
237 | Mips_got_info::record_local_got_symbol. | |
238 | (Mips_output_data_got::got_offset): Add addend argument, and pass | |
239 | it to Relobj::local_got_offset. | |
240 | (struct Mips_output_reloc_writer): New type. | |
241 | (class Mips_output_data_reloc): New class. | |
242 | (Mips_output_data_plt::Reloc_section): Change type to | |
243 | Mips_output_data_reloc. | |
244 | (Target_mips::Reloc_section): Likewise. | |
245 | (Mips_reloc_types::get_r_addend): Remove unsigned from return type. | |
246 | (Mips_classify_reloc::get_r_type2): New method. | |
247 | (Mips_classify_reloc::get_r_type3): Likewise. | |
248 | (Mips_classify_reloc::get_r_ssym): Likewise. | |
249 | (Target_mips::Reloca_section): Remove. | |
250 | (Relocate::should_apply_static_reloc): Rename from | |
251 | should_apply_r_mips_32_reloc. | |
252 | (Target_mips::copy_reloc): Replace Reltype parameter with r_type | |
253 | and r_offset. | |
254 | (Mips_relocate_functions::Valtype): New type. | |
255 | (Mips_relocate_functions::Valtype64): New type. | |
256 | (Mips_relocate_functions::check_overflow): New method. | |
257 | (Mips_relocate_functions::mips_reloc_unshuffle): Move to public | |
258 | interface. | |
259 | (Mips_relocate_functions::mips_reloc_shuffle): Likewise. | |
260 | (Mips_relocate_functions::rel16): Add support for resolving | |
261 | relocations for Mips64. | |
262 | (Mips_relocate_functions::rel32): Likewise. | |
263 | (Mips_relocate_functions::reljalr): Likewise. | |
264 | (Mips_relocate_functions::relpc32): Likewise. | |
265 | (Mips_relocate_functions::rel26): Likewise. | |
266 | (Mips_relocate_functions::relpc16): Likewise. | |
267 | (Mips_relocate_functions::relmicromips_pc7_s1): Likewise. | |
268 | (Mips_relocate_functions::relmicromips_pc10_s1): Likewise. | |
269 | (Mips_relocate_functions::relmicromips_pc16_s1): Likewise. | |
270 | (Mips_relocate_functions::do_relhi16): Likewise. | |
271 | (Mips_relocate_functions::do_relgot16_local): Likewise. | |
272 | (Mips_relocate_functions::rello16): Likewise. | |
273 | (Mips_relocate_functions::relgot): Likewise. | |
274 | (Mips_relocate_functions::relgotpage): Likewise. | |
275 | (Mips_relocate_functions::relgotofst): Likewise. | |
276 | (Mips_relocate_functions::relgot_hi16): Likewise. | |
277 | (Mips_relocate_functions::relgot_lo16): Likewise. | |
278 | (Mips_relocate_functions::relgprel): Likewise. | |
279 | (Mips_relocate_functions::relgprel32): Likewise. | |
280 | (Mips_relocate_functions::tlsrelhi16): Likewise. | |
281 | (Mips_relocate_functions::tlsrello16): Likewise. | |
282 | (Mips_relocate_functions::tlsrel32): Likewise. | |
283 | (Mips_relocate_functions::relsub): Likewise. | |
284 | (Mips_relocate_functions::releh): New method. | |
285 | (Mips_relocate_functions::rel64): Likewise. | |
286 | (Mips_got_info::record_local_got_symbol): Add is_section_symbol and | |
287 | pass it to Mips_got_entry. | |
288 | (Mips_got_info::add_local_entries): Pass addend argument | |
289 | to code functions, and for STT_SECTION symbols call | |
290 | add_symbolless_local_addend. | |
291 | (Mips_got_info::add_tls_entries): Pass addend argument to code | |
292 | functions. | |
293 | (Mips_relobj::do_read_symbols): Read gp value that was used to | |
294 | create object. | |
295 | (Mips_output_data_plt::plt_entry): Remove opcode from l[wd] | |
296 | instruction. Opcode for instruction will be selected later. | |
297 | (Target_mips::gc_process_relocs): Add case for SHT_RELA. | |
298 | (Target_mips::scan_relocatable_relocs): Likewise. | |
299 | (Target_mips::emit_relocs_scan): Likewise. | |
300 | (Target_mips::relocate_relocs): Likewise. | |
301 | (Target_mips::do_finalize_sections): Skip objects for merging | |
302 | processor specific flags in which all input sections will be | |
303 | discarded. | |
304 | (mips_get_size_for_reloc): Add case for R_MIPS_EH. | |
305 | (Target_mips::Scan::get_reference_flags): Likewise. | |
306 | (Target_mips::relocate_special_relocatable): Call rel26 method with | |
307 | calculate_only and calculated_value arguments. | |
308 | (Target_mips::Scan::local): Add case for R_MIPS_EH. Don't create a | |
309 | dynamic relocation against a readonly sections, and pass | |
310 | is_section_symbol to Mips_got_info::record_local_got_symbol. | |
311 | (Target_mips::Scan::global): Add case for R_MIPS_EH. Don't create a | |
312 | dynamic relocation against a readonly sections, and pass r_type | |
313 | and r_offset to Target_mips::copy_reloc. | |
314 | (Target_mips::Relocate::relocate): Add support for resolving | |
315 | relocations for Mips64. | |
316 | (Target_mips::mips_info): Add case for Mips64 default dynamic | |
317 | linker name. | |
318 | (Target_selector_mips): Correct emulation names. | |
319 | ||
1a08ae21 VR |
320 | 2016-03-17 Vladimir Radosavljevic <vladimir.radosavljevic@imgtec.com> |
321 | ||
322 | * mips.cc (class Mips_output_data_la25_stub): Add | |
323 | do_print_to_mapfile function. | |
324 | ||
c2fa9ced VR |
325 | 2016-03-17 Vladimir Radosavljevic <vladimir.radosavljevic@imgtec.com> |
326 | ||
327 | * mips.cc (Mips_classify_reloc::put_r_info): Call 32bit version of | |
328 | elf_r_info. | |
329 | ||
fd91f002 L |
330 | 2016-03-09 H.J. Lu <hongjiu.lu@intel.com> |
331 | ||
332 | * testsuite/plugin_layout_with_alignment.cc: Renamed to .. | |
333 | * testsuite/plugin_layout_with_alignment.c: This. | |
334 | * testsuite/Makefile.am (plugin_layout_with_alignment.o): Updated. | |
335 | (plugin_layout_with_alignment): Likewise. | |
336 | * testsuite/Makefile.in: Regenerated. | |
337 | ||
7ff6eb49 CC |
338 | 2016-03-08 Cary Coutant <ccoutant@gmail.com> |
339 | ||
340 | PR 19751 | |
341 | * testsuite/Makefile.am (retain_symbols_file_test): Remove check | |
342 | for constructor. | |
343 | * testsuite/Makefile.in: Regenerate. | |
344 | * testsuite/dynamic_list.sh: Likewise. | |
345 | * testsuite/retain_symbols_file_test.sh: Likewise. | |
346 | ||
202736be CC |
347 | 2016-03-08 Cary Coutant <ccoutant@gmail.com> |
348 | ||
349 | PR 19751 | |
350 | * arm.cc (Reloc_stub::Key::name): Add unused attribute. | |
351 | * dirsearch.cc (Dir_caches::~Dir_caches): Likewise. | |
352 | ||
c32482d6 CC |
353 | 2016-03-08 Cary Coutant <ccoutant@gmail.com> |
354 | Vladimir Radosavljevic <vladimir.radosavljevic@imgtec.com> | |
355 | ||
356 | * output.cc (Output_reloc_writer): New type. | |
357 | (Output_data_reloc_base::do_write): Move implementation to template | |
358 | in output.h and replace with invocation of template. | |
359 | * output.h (Output_file): Move to top of file. | |
360 | (Output_reloc::get_symbol_index): Move to public interface. | |
361 | (Output_reloc::get_address): Likewise. | |
362 | (Output_data_reloc_base::do_write_generic): New function template. | |
363 | ||
8d04e81d CC |
364 | 2016-03-04 Cary Coutant <ccoutant@gmail.com> |
365 | ||
366 | PR gold/19019 | |
367 | PR gold/19763 | |
368 | * symtab.cc: Instantiate Sized_symbol::init_constant and | |
369 | Sized_symbol::init_undefined. | |
370 | ||
dc1c8a16 CC |
371 | 2016-03-03 Cary Coutant <ccoutant@gmail.com> |
372 | ||
373 | PR gold/19019 | |
374 | * layout.h (Layout::add_target_specific_dynamic_tag): New function. | |
375 | * layout.cc (Layout::add_target_specific_dynamic_tag): New function. | |
376 | * mips.cc (Target_mips::make_symbol): Adjust function signature. | |
377 | * sparc.cc (Target_sparc::Target_sparc): Initialize register_syms_. | |
378 | (Target_sparc::do_is_defined_by_abi): Remove test for | |
379 | STT_SPARC_REGISTER. | |
380 | (Target_sparc::Register_symbol): New struct type. | |
381 | (Target_sparc::register_syms_): New data member. | |
382 | (Target_sparc<64, true>::sparc_info): Set has_make_symbol to true. | |
383 | (Target_sparc::make_symbol): New function. | |
384 | (Target_sparc::do_finalize_sections): Add register symbols and new | |
385 | dynamic table entries. | |
386 | * symtab.h (Sized_symbol::init_undefined): Add value parameter. | |
387 | (Symbol_table::add_target_global_symbol): New function. | |
388 | (Symbol_table::target_symbols_): New data member. | |
389 | * symtab.cc (Sized_symbol::init_undefined): Add value parameter. | |
390 | (Symbol_table::Symbol_table): Initialize target_symbols_. | |
391 | (Symbol_table::add_from_object): Pass additional parameters to | |
392 | Target::make_symbol. | |
393 | (Symbol_table::define_special_symbol): Likewise. | |
394 | (Symbol_table::add_undefined_symbol_from_command_line): Pass 0 for | |
395 | undefined symbol value. | |
396 | (Symbol_table::set_dynsym_indexes): Process target-specific symbols. | |
397 | (Symbol_table::sized_finalize): Likewise. | |
398 | (Symbol_table::sized_write_globals): Likewise. | |
399 | * target.h (Sized_target::make_symbol): Add name, st_type, object, | |
400 | st_shndx, and value parameters. | |
401 | ||
9b738e36 | 402 | 2016-03-03 Rafael Ăvila de EspĂndola <rafael.espindola@gmail.com> |
a06ed37d RĂE |
403 | |
404 | * plugin.cc (do_should_include_member): Ignore LDPK_UNDEF and | |
405 | LDPK_WEAKUNDEF symbols. | |
406 | ||
3f1f41f5 L |
407 | 2016-03-03 Than McIntosh <thanm@google.com> |
408 | ||
409 | * plugin.cc (Plugin::load): Include hooks for get_input_section_size | |
410 | and get_input_section_alignment in transfer vector. | |
411 | (get_input_section_alignment): New function. | |
412 | (get_input_section_size): New function. | |
413 | * testsuite/Makefile.am: Add plugin_layout_with_alignment.sh test. | |
414 | * testsuite/Makefile.in: [Regenerate.] | |
415 | * testsuite/plugin_section_alignment.cc: New test file. | |
416 | * testsuite/plugin_layout_with_alignment.cc: New test file. | |
417 | * testsuite/plugin_layout_with_alignment.sh: New test file. | |
418 | ||
9b738e36 | 419 | 2016-03-03 Evgenii Stepanov <eugenis@google.com> |
95ecdfbf ES |
420 | |
421 | * plugin.h (Pluginobj::get_symbol_resolution_info): Add version | |
422 | parameter. | |
423 | * plugin.cc (get_symbols_v3): New function. | |
424 | (Plugin::load): Add LDPT_GET_SYMBOLS_V3. | |
425 | (Pluginobj::get_symbol_resolution_info): Return LDPS_NO_SYMS when using | |
426 | new version. | |
427 | ||
fc5a9bd5 CC |
428 | 2016-02-26 Egor Kochetov <egor.kochetov@intel.com> |
429 | Cary Coutant <ccoutant@gmail.com> | |
430 | ||
431 | PR gold/19735 | |
432 | * ehframe.h (Cie::fde_encoding): New method. | |
433 | * ehframe.cc (Eh_frame::read_fde): Discard FDEs for zero-length | |
434 | address ranges. | |
435 | ||
1cd17042 L |
436 | 2016-02-15 H.J. Lu <hongjiu.lu@intel.com> |
437 | ||
438 | * testsuite/Makefile.am (x86_64_mov_to_lea5.o): Pass | |
439 | -mrelax-relocations=yes to $(TEST_AS). | |
440 | (x86_64_mov_to_lea6.o): Likewise. | |
441 | (x86_64_overflow_pc32.o): Remove duplicated target. | |
442 | * testsuite/Makefile.in: Regenerated. | |
443 | ||
2b63aca3 MK |
444 | 2016-02-15 Marcin KoĆcielnicki <koriakin@0x04.net> |
445 | ||
446 | * s390.cc (Target_s390::match_view_u): New helper method. | |
447 | (Target_s390::do_is_call_to_non_split): New method. | |
448 | (Target_s390::ss_code_st_r14): New const. | |
449 | (Target_s390::ss_code_l_r14): New const. | |
450 | (Target_s390::ss_code_bras_8): New const. | |
451 | (Target_s390::ss_code_l_basr): New const. | |
452 | (Target_s390::ss_code_a_basr): New const. | |
453 | (Target_s390::ss_code_ear): New const. | |
454 | (Target_s390::ss_code_c): New const. | |
455 | (Target_s390::ss_code_larl): New const. | |
456 | (Target_s390::ss_code_brasl): New const. | |
457 | (Target_s390::ss_code_jg): New const. | |
458 | (Target_s390::ss_code_jgl): New const. | |
459 | (Target_s390::ss_match_mcount): New helper method. | |
460 | (Target_s390::ss_match_l): New helper method. | |
461 | (Target_s390::ss_match_ahi): New helper method. | |
462 | (Target_s390::ss_match_alfi): New helper method. | |
463 | (Target_s390::ss_match_cr): New helper method. | |
464 | (Target_s390::do_calls_non_split): New method. | |
465 | * testsuite/Makefile.am: Added new tests. | |
466 | * testsuite/Makefile.in: Regenerate. | |
467 | * testsuite/split_s390.sh: New test. | |
468 | * testsuite/split_s390_1_a1.s: New test. | |
469 | * testsuite/split_s390_1_a2.s: New test. | |
470 | * testsuite/split_s390_1_n1.s: New test. | |
471 | * testsuite/split_s390_1_n2.s: New test. | |
472 | * testsuite/split_s390_1_z1.s: New test. | |
473 | * testsuite/split_s390_1_z2.s: New test. | |
474 | * testsuite/split_s390_1_z3.s: New test. | |
475 | * testsuite/split_s390_1_z4.s: New test. | |
476 | * testsuite/split_s390_2_ns.s: New test. | |
477 | * testsuite/split_s390_2_s.s: New test. | |
478 | * testsuite/split_s390x_1_a1.s: New test. | |
479 | * testsuite/split_s390x_1_a2.s: New test. | |
480 | * testsuite/split_s390x_1_n1.s: New test. | |
481 | * testsuite/split_s390x_1_n2.s: New test. | |
482 | * testsuite/split_s390x_1_z1.s: New test. | |
483 | * testsuite/split_s390x_1_z2.s: New test. | |
484 | * testsuite/split_s390x_1_z3.s: New test. | |
485 | * testsuite/split_s390x_1_z4.s: New test. | |
486 | * testsuite/split_s390x_2_ns.s: New test. | |
487 | * testsuite/split_s390x_2_s.s: New test. | |
488 | ||
e3dbf582 HS |
489 | 2016-02-11 Rahul Chaudhry <rahulchaudhry@google.com> |
490 | ||
491 | * aarch64.cc (Target_aarch64::scan_erratum_843419_span): Remove | |
492 | info message for every erratum 843419 found and fixed. | |
493 | ||
17ecd016 CC |
494 | 2016-02-07 Cary Coutant <ccoutant@gmail.com> |
495 | ||
496 | PR gold/18695 | |
497 | * x86_64.cc (Target_x86_64::Relocate::relocate): Add additional | |
498 | information to relocation overflow errors. | |
499 | ||
7c8b700c CC |
500 | 2016-02-06 Cary Coutant <ccoutant@gmail.com> |
501 | ||
17ecd016 | 502 | PR gold/18695 |
7c8b700c CC |
503 | * x86_64.cc (X86_64_relocate_functions::pcrela32_check): Fix x32 |
504 | overflow checking when symbol value + addend < 0. | |
505 | ||
b7a4e9d8 CC |
506 | 2016-02-06 Cary Coutant <ccoutant@gmail.com> |
507 | ||
508 | PR gold/19577 | |
509 | * reloc.h (Limits): New class. | |
510 | (Bits::has_overflow32): Use min/max values from Limits. | |
511 | (Bits::has_unsigned_overflow32): Likewise. | |
512 | (Bits::has_signed_unsigned_overflow32): Likewise. | |
513 | (Bits::has_overflow): Likewise. | |
514 | (Bits::has_unsigned_overflow): Likewise. | |
515 | (Bits::has_signed_unsigned_overflow64): Likewise. | |
516 | ||
19ef3f4d CC |
517 | 2016-02-06 Cary Coutant <ccoutant@gmail.com> |
518 | ||
519 | PR gold/19567 | |
520 | * reloc.h (Relocate_functions::Overflow_check): Add comments. | |
521 | * x86_64.cc (X86_64_relocate_functions): New class. | |
522 | (Target_x86_64::Relocate::relocate): Use the new class. | |
523 | * testsuite/Makefile.am (x86_64_overflow_pc32): Add -Tdata option. | |
524 | (x32_overflow_pc32): New test case. | |
525 | * testsuite/Makefile.in: Regenerate. | |
526 | * testsuite/x32_overflow_pc32.sh: New script. | |
527 | * testsuite/x86_64_overflow_pc32.s: Remove .space directive. | |
528 | ||
72c55146 CC |
529 | 2016-02-06 Cary Coutant <ccoutant@gmail.com> |
530 | ||
531 | PR gold/19577 | |
532 | * reloc.h (Bits::has_unsigned_overflow32): Fix static_cast. | |
533 | (Bits::has_unsigned_overflow): Remove unnecessary static_cast. | |
534 | ||
2bf48941 CC |
535 | 2016-02-06 Cary Coutant <ccoutant@gmail.com> |
536 | ||
3b8bcce8 | 537 | PR gold/19577 |
2bf48941 CC |
538 | * reloc.h (Bits::has_unsigned_overflow32): Fix unsigned/signed |
539 | comparison. | |
540 | (Bits::has_unsigned_overflow): Likewise. | |
541 | ||
bd8d853f MK |
542 | 2016-02-06 Marcin KoĆcielnicki <koriakin@0x04.net> |
543 | ||
544 | * i386.cc (Target_i386::is_call_to_non_split): Add view and view_size | |
545 | parameters. | |
546 | * reloc.cc (Sized_relobj_file::split_stack_adjust_reltype): Pass view | |
547 | and view_size to is_call_to_non_split. | |
548 | * target.cc (Target::is_call_to_non_split): Add view and view_size | |
549 | parameters. | |
550 | * target.h (class Target): Likewise. | |
551 | ||
84d543b7 ST |
552 | 2016-02-05 Sriraman Tallam <tmsriram@google.com> |
553 | ||
554 | * icf.cc (get_rel_addend): New function. | |
555 | (get_section_contents): Move merge section addend computation to a | |
556 | new function. Ignore negative values for SHT_REL and SHT_RELA addends. | |
557 | Fix bug to not read past the length of the section. | |
558 | ||
c34c98ed CC |
559 | 2016-02-05 Cary Coutant <ccoutant@gmail.com> |
560 | Andrew Senkevich <andrew.senkevich@intel.com> | |
561 | ||
562 | PR gold/18695 | |
563 | * x86_64.cc (Target_x86_64::Relocate::relocate): Add overflow | |
564 | checking for R_X86_64_32, R_X86_64_32S, R_X86_64_PC32, and | |
565 | R_X86_64_PLT32. | |
566 | * testsuite/Makefile.am (x86_64_overflow_pc32): New test. | |
567 | * testsuite/x86_64_overflow_pc32.sh: New test script. | |
568 | * testsuite/x86_64_overflow_pc32.s: New source file. | |
569 | ||
570 | 2016-02-05 Cary Coutant <ccoutant@gmail.com> | |
44803b5d CC |
571 | |
572 | PR gold/18695 | |
573 | * reloc.h (Relocate_functions::Address): New typedef. | |
574 | (Relocate_functions::Addendtype): New typedef. | |
575 | (Relocate_functions::Overflow_check): New enum type. | |
576 | (Relocate_functions::Reloc_status): New enum type. | |
577 | (Relocate_functions::check_overflow): New function template. | |
578 | (Relocate_functions::rel): Add check parameter; check for overflow. | |
579 | (Relocate_functions::rel_unaligned): Likewise. | |
580 | (Relocate_functions::rela): Likewise. | |
581 | (Relocate_functions::pcrel): Likewise. | |
582 | (Relocate_functions::pcrel_unaligned): Likewise. | |
583 | (Relocate_functions::pcrela): Likewise. | |
584 | (Relocate_functions::rel8): Adjust parameter types. | |
585 | (Relocate_functions::rela8): Likewise. | |
586 | (Relocate_functions::pcrel8): Likewise. | |
587 | (Relocate_functions::pcrela8): Likewise. | |
588 | (Relocate_functions::rel16): Likewise. | |
589 | (Relocate_functions::rela168): Likewise. | |
590 | (Relocate_functions::pcrel16): Likewise. | |
591 | (Relocate_functions::pcrela16): Likewise. | |
592 | (Relocate_functions::rel32): Likewise. | |
593 | (Relocate_functions::rel32_unaligned): Likewise. | |
594 | (Relocate_functions::rela32): Likewise. | |
595 | (Relocate_functions::pcrel32): Likewise. | |
596 | (Relocate_functions::pcrel32_unaligned): Likewise. | |
597 | (Relocate_functions::pcrela32): Likewise. | |
598 | (Relocate_functions::rel8_check): New function. | |
599 | (Relocate_functions::rela8_check): New function. | |
600 | (Relocate_functions::pcrel8_check): New function. | |
601 | (Relocate_functions::pcrela8_check): New function. | |
602 | (Relocate_functions::rel16_check): New function. | |
603 | (Relocate_functions::rela168_check): New function. | |
604 | (Relocate_functions::pcrel16_check): New function. | |
605 | (Relocate_functions::pcrela16_check): New function. | |
606 | (Relocate_functions::rel32_check): New function. | |
607 | (Relocate_functions::rel32_unaligned_check): New function. | |
608 | (Relocate_functions::rela32_check): New function. | |
609 | (Relocate_functions::pcrel32_check): New function. | |
610 | (Relocate_functions::pcrel32_unaligned_check): New function. | |
611 | (Relocate_functions::pcrela32_check): New function. | |
612 | (Bits::has_unsigned_overflow32): New function. | |
613 | (Bits::has_unsigned_overflow): New function. | |
614 | * testsuite/Makefile.am (overflow_unittest): New test. | |
615 | * testsuite/Makefile.in: Regenerate. | |
616 | * testsuite/overflow_unittest.cc: New source file. | |
617 | ||
4f038ee5 AM |
618 | 2016-02-04 Alan Modra <amodra@gmail.com> |
619 | ||
620 | * powerpc.cc (relocate): Adjust last patch for big-endian. | |
621 | ||
85fabe71 AM |
622 | 2016-02-02 Alan Modra <amodra@gmail.com> |
623 | ||
624 | * powerpc.cc (relocate): Further restrict ELFv2 entry optimization. | |
625 | ||
9a472eda HS |
626 | 2016-01-15 Han Shen <shenhan@google.com> |
627 | ||
628 | PR gold/19472 - need pc-relative stubs. | |
629 | ||
630 | * aarch64.cc (Reloc_stub::stub_type_for_reloc): Return PC-relative | |
631 | stub type for DSOs and pie executables. | |
632 | ||
41549dfb L |
633 | 2016-01-12 H.J. Lu <hongjiu.lu@intel.com> |
634 | ||
635 | * i386.cc (Target_i386::Classify_reloc::get_r_addend): Remove | |
636 | 'typename'. | |
637 | ||
8a8880cb CC |
638 | 2016-01-12 Cary Coutant <ccoutant@gmail.com> |
639 | ||
640 | * arm.cc (Target_arm::Classify_reloc::get_r_addend): New method. | |
641 | * i386.cc (Target_i386::Classify_reloc::get_r_addend): New method. | |
642 | * mips.cc (Target_arm::Mips_classify_reloc::get_r_addend): (Both | |
643 | specializations) New method. | |
644 | ||
d21f123b CC |
645 | 2016-01-11 Cary Coutant <ccoutant@gmail.com> |
646 | ||
647 | PR gold/19353 | |
648 | * aarch64.cc (Target_aarch64::relocate_tls): Don't insist that | |
649 | we have a TLS segment for GD-to-IE optimization. | |
650 | * i386.cc (Target_i386::tls_gd_to_ie): Remove tls_segment parameter. | |
651 | Adjust all calls. | |
652 | (Target_i386::tls_desc_gd_to_ie): Likewise. | |
653 | (Target_i386::relocate_tls): Don't insist that we have a TLS segment | |
654 | for TLSDESC GD-to-IE optimizations. | |
655 | * x86_64.cc (Target_x86_64::tls_gd_to_ie): Remove tls_segment parameter. | |
656 | Adjust all calls. | |
657 | (Target_x86_64::tls_desc_gd_to_ie): Likewise. | |
658 | (Target_x86_64::relocate_tls): Don't insist that we have a TLS segment | |
659 | for TLSDESC GD-to-IE optimizations. | |
660 | ||
4d625b70 CC |
661 | 2016-01-11 Cary Coutant <ccoutant@gmail.com> |
662 | ||
663 | Refactor gold to enable support for MIPS-64 relocation format. | |
664 | ||
665 | * gc.h (get_embedded_addend_size): Remove sh_type parameter. | |
666 | (gc_process_relocs): Remove sh_type template parameter. | |
667 | Use Classify_reloc to access r_sym, r_type, and r_addend fields. | |
668 | * object.h (Sized_relobj_file::split_stack_adjust): Add target | |
669 | parameter. | |
670 | (Sized_relobj_file::split_stack_adjust_reltype): Likewise. | |
671 | * reloc-types.h (Reloc_types::copy_reloc_addend): (SHT_REL and SHT_RELA | |
672 | specializations) Remove. | |
673 | * reloc.cc (Emit_relocs_strategy): Rename and move to target-reloc.h. | |
674 | (Sized_relobj_file::emit_relocs_scan): Call Target::emit_relocs_scan(). | |
675 | (Sized_relobj_file::emit_relocs_scan_reltype): Remove. | |
676 | (Sized_relobj_file::split_stack_adjust): Add target parameter. | |
677 | Adjust all callers. | |
678 | (Sized_relobj_file::split_stack_adjust_reltype): Likewise. Call | |
679 | Target::get_r_sym() to get r_sym field from relocations. | |
680 | (Track_relocs::next_symndx): Call Target::get_r_sym(). | |
681 | * target-reloc.h (scan_relocs): Remove sh_type template parameter; | |
682 | add Classify_reloc template parameter. Use for accessing r_sym and | |
683 | r_type. | |
684 | (relocate_section): Likewise. | |
685 | (Default_classify_reloc): New class (renamed and moved from reloc.cc). | |
686 | (Default_scan_relocatable_relocs): Remove sh_type template parameter. | |
687 | (Default_scan_relocatable_relocs::Reltype): New typedef. | |
688 | (Default_scan_relocatable_relocs::reloc_size): New const. | |
689 | (Default_scan_relocatable_relocs::sh_type): New const. | |
690 | (Default_scan_relocatable_relocs::get_r_sym): New method. | |
691 | (Default_scan_relocatable_relocs::get_r_type): New method. | |
692 | (Default_emit_relocs_strategy): New class. | |
693 | (scan_relocatable_relocs): Replace sh_type template parameter with | |
694 | Scan_relocatable_relocs class. Use it to access r_sym and r_type | |
695 | fields. | |
696 | (relocate_relocs): Replace sh_type template parameter with | |
697 | Classify_reloc class. Use it to access r_sym and r_type fields. | |
698 | * target.h (Target::is_call_to_non_split): Replace r_type parameter | |
699 | with pointer to relocation. Adjust all callers. | |
700 | (Target::do_is_call_to_non_split): Likewise. | |
701 | (Target::emit_relocs_scan): New virtual method. | |
702 | (Sized_target::get_r_sym): New virtual method. | |
703 | * target.cc (Target::do_is_call_to_non_split): Replace r_type parameter | |
704 | with pointer to relocation. | |
705 | ||
706 | * aarch64.cc (Target_aarch64::emit_relocs_scan): New method. | |
707 | (Target_aarch64::Relocatable_size_for_reloc): Remove. | |
708 | (Target_aarch64::gc_process_relocs): Use Default_classify_reloc. | |
709 | (Target_aarch64::scan_relocs): Likewise. | |
710 | (Target_aarch64::relocate_section): Likewise. | |
711 | (Target_aarch64::Relocatable_size_for_reloc::get_size_for_reloc): | |
712 | Remove. | |
713 | (Target_aarch64::scan_relocatable_relocs): Use Default_classify_reloc. | |
714 | (Target_aarch64::relocate_relocs): Use Default_classify_reloc. | |
715 | * arm.cc (Target_arm::Arm_scan_relocatable_relocs): Remove sh_type | |
716 | template parameter. | |
717 | (Target_arm::emit_relocs_scan): New method. | |
718 | (Target_arm::Relocatable_size_for_reloc): Replace with... | |
719 | (Target_arm::Classify_reloc): ...this. | |
720 | (Target_arm::gc_process_relocs): Use Classify_reloc. | |
721 | (Target_arm::scan_relocs): Likewise. | |
722 | (Target_arm::relocate_section): Likewise. | |
723 | (Target_arm::scan_relocatable_relocs): Likewise. | |
724 | (Target_arm::relocate_relocs): Likewise. | |
725 | * i386.cc (Target_i386::emit_relocs_scan): New method. | |
726 | (Target_i386::Relocatable_size_for_reloc): Replace with... | |
727 | (Target_i386::Classify_reloc): ...this. | |
728 | (Target_i386::gc_process_relocs): Use Classify_reloc. | |
729 | (Target_i386::scan_relocs): Likewise. | |
730 | (Target_i386::relocate_section): Likewise. | |
731 | (Target_i386::scan_relocatable_relocs): Likewise. | |
732 | (Target_i386::relocate_relocs): Likewise. | |
733 | * mips.cc (Mips_scan_relocatable_relocs): Remove sh_type template | |
734 | parameter. | |
735 | (Mips_reloc_types): New class template. | |
736 | (Mips_classify_reloc): New class template. | |
737 | (Target_mips::Reltype): New typedef. | |
738 | (Target_mips::Relatype): New typedef. | |
739 | (Target_mips::emit_relocs_scan): New method. | |
740 | (Target_mips::get_r_sym): New method. | |
741 | (Target_mips::Relocatable_size_for_reloc): Replace with | |
742 | Mips_classify_reloc. | |
743 | (Target_mips::copy_reloc): Use Mips_classify_reloc. | |
744 | (Target_mips::gc_process_relocs): Likewise. | |
745 | (Target_mips::scan_relocs): Likewise. | |
746 | (Target_mips::relocate_section): Likewise. | |
747 | (Target_mips::scan_relocatable_relocs): Likewise. | |
748 | (Target_mips::relocate_relocs): Likewise. | |
749 | (mips_get_size_for_reloc): New function, factored out from | |
750 | Relocatable_size_for_reloc::get_size_for_reloc. | |
751 | (Target_mips::Scan::local): Use Mips_classify_reloc. | |
752 | (Target_mips::Scan::global): Likewise. | |
753 | (Target_mips::Relocate::relocate): Likewise. | |
754 | * powerpc.cc (Target_powerpc::emit_relocs_scan): New method. | |
755 | (Target_powerpc::Relocatable_size_for_reloc): Remove. | |
756 | (Target_powerpc::gc_process_relocs): Use Default_classify_reloc. | |
757 | (Target_powerpc::scan_relocs): Likewise. | |
758 | (Target_powerpc::relocate_section): Likewise. | |
759 | (Powerpc_scan_relocatable_reloc): Convert to class template. | |
760 | (Powerpc_scan_relocatable_reloc::Reltype): New typedef. | |
761 | (Powerpc_scan_relocatable_reloc::reloc_size): New const. | |
762 | (Powerpc_scan_relocatable_reloc::sh_type): New const. | |
763 | (Powerpc_scan_relocatable_reloc::get_r_sym): New method. | |
764 | (Powerpc_scan_relocatable_reloc::get_r_type): New method. | |
765 | (Target_powerpc::scan_relocatable_relocs): Use | |
766 | Powerpc_scan_relocatable_reloc. | |
767 | (Target_powerpc::relocate_relocs): Use Default_classify_reloc. | |
768 | * s390.cc (Target_s390::emit_relocs_scan): New method. | |
769 | (Target_s390::Relocatable_size_for_reloc): Remove. | |
770 | (Target_s390::gc_process_relocs): Use Default_classify_reloc. | |
771 | (Target_s390::scan_relocs): Likewise. | |
772 | (Target_s390::relocate_section): Likewise. | |
773 | (Target_s390::Relocatable_size_for_reloc::get_size_for_reloc): | |
774 | Remove. | |
775 | (Target_s390::scan_relocatable_relocs): Use Default_classify_reloc. | |
776 | (Target_s390::relocate_relocs): Use Default_classify_reloc. | |
777 | * sparc.cc (Target_sparc::emit_relocs_scan): New method. | |
778 | (Target_sparc::Relocatable_size_for_reloc): Remove. | |
779 | (Target_sparc::gc_process_relocs): Use Default_classify_reloc. | |
780 | (Target_sparc::scan_relocs): Likewise. | |
781 | (Target_sparc::relocate_section): Likewise. | |
782 | (Target_sparc::Relocatable_size_for_reloc::get_size_for_reloc): | |
783 | Remove. | |
784 | (Target_sparc::scan_relocatable_relocs): Use Default_classify_reloc. | |
785 | (Target_sparc::relocate_relocs): Use Default_classify_reloc. | |
786 | * tilegx.cc (Target_tilegx::emit_relocs_scan): New method. | |
787 | (Target_tilegx::Relocatable_size_for_reloc): Remove. | |
788 | (Target_tilegx::gc_process_relocs): Use Default_classify_reloc. | |
789 | (Target_tilegx::scan_relocs): Likewise. | |
790 | (Target_tilegx::relocate_section): Likewise. | |
791 | (Target_tilegx::Relocatable_size_for_reloc::get_size_for_reloc): | |
792 | Remove. | |
793 | (Target_tilegx::scan_relocatable_relocs): Use Default_classify_reloc. | |
794 | (Target_tilegx::relocate_relocs): Use Default_classify_reloc. | |
795 | * x86_64.cc (Target_x86_64::emit_relocs_scan): New method. | |
796 | (Target_x86_64::Relocatable_size_for_reloc): Remove. | |
797 | (Target_x86_64::gc_process_relocs): Use Default_classify_reloc. | |
798 | (Target_x86_64::scan_relocs): Likewise. | |
799 | (Target_x86_64::relocate_section): Likewise. | |
800 | (Target_x86_64::Relocatable_size_for_reloc::get_size_for_reloc): | |
801 | Remove. | |
802 | (Target_x86_64::scan_relocatable_relocs): Use Default_classify_reloc. | |
803 | (Target_x86_64::relocate_relocs): Use Default_classify_reloc. | |
804 | ||
805 | * testsuite/testfile.cc (Target_test::emit_relocs_scan): New method. | |
806 | ||
6f2750fe AM |
807 | 2016-01-01 Alan Modra <amodra@gmail.com> |
808 | ||
809 | Update year range in copyright notice of all files. | |
810 | ||
3499769a AM |
811 | For older changes see ChangeLog-0815 |
812 | \f | |
813 | Copyright (C) 2016 Free Software Foundation, Inc. | |
814 | ||
815 | Copying and distribution of this file, with or without modification, | |
816 | are permitted in any medium without royalty provided the copyright | |
817 | notice and this notice are preserved. | |
818 | ||
819 | Local Variables: | |
820 | mode: change-log | |
821 | left-margin: 8 | |
822 | fill-column: 74 | |
823 | version-control: never | |
824 | End: |