Remove checks for constructors that might have been eliminated by GCC.
[external/binutils.git] / gold / ChangeLog
1 2016-03-08  Cary Coutant  <ccoutant@gmail.com>
2
3         PR 19751
4         * testsuite/Makefile.am (retain_symbols_file_test): Remove check
5         for constructor.
6         * testsuite/Makefile.in: Regenerate.
7         * testsuite/dynamic_list.sh: Likewise.
8         * testsuite/retain_symbols_file_test.sh: Likewise.
9
10 2016-03-08  Cary Coutant  <ccoutant@gmail.com>
11
12         PR 19751
13         * arm.cc (Reloc_stub::Key::name): Add unused attribute.
14         * dirsearch.cc (Dir_caches::~Dir_caches): Likewise.
15
16 2016-03-08  Cary Coutant  <ccoutant@gmail.com>
17             Vladimir Radosavljevic  <vladimir.radosavljevic@imgtec.com>
18
19         * output.cc (Output_reloc_writer): New type.
20         (Output_data_reloc_base::do_write): Move implementation to template
21         in output.h and replace with invocation of template.
22         * output.h (Output_file): Move to top of file.
23         (Output_reloc::get_symbol_index): Move to public interface.
24         (Output_reloc::get_address): Likewise.
25         (Output_data_reloc_base::do_write_generic): New function template.
26
27 2016-03-04  Cary Coutant  <ccoutant@gmail.com>
28
29         PR gold/19019
30         PR gold/19763
31         * symtab.cc: Instantiate Sized_symbol::init_constant and
32         Sized_symbol::init_undefined.
33
34 2016-03-03  Cary Coutant  <ccoutant@gmail.com>
35
36         PR gold/19019
37         * layout.h (Layout::add_target_specific_dynamic_tag): New function.
38         * layout.cc (Layout::add_target_specific_dynamic_tag): New function.
39         * mips.cc (Target_mips::make_symbol): Adjust function signature.
40         * sparc.cc (Target_sparc::Target_sparc): Initialize register_syms_.
41         (Target_sparc::do_is_defined_by_abi): Remove test for
42         STT_SPARC_REGISTER.
43         (Target_sparc::Register_symbol): New struct type.
44         (Target_sparc::register_syms_): New data member.
45         (Target_sparc<64, true>::sparc_info): Set has_make_symbol to true.
46         (Target_sparc::make_symbol): New function.
47         (Target_sparc::do_finalize_sections): Add register symbols and new
48         dynamic table entries.
49         * symtab.h (Sized_symbol::init_undefined): Add value parameter.
50         (Symbol_table::add_target_global_symbol): New function.
51         (Symbol_table::target_symbols_): New data member.
52         * symtab.cc (Sized_symbol::init_undefined): Add value parameter.
53         (Symbol_table::Symbol_table): Initialize target_symbols_.
54         (Symbol_table::add_from_object): Pass additional parameters to
55         Target::make_symbol.
56         (Symbol_table::define_special_symbol): Likewise.
57         (Symbol_table::add_undefined_symbol_from_command_line): Pass 0 for
58         undefined symbol value.
59         (Symbol_table::set_dynsym_indexes): Process target-specific symbols.
60         (Symbol_table::sized_finalize): Likewise.
61         (Symbol_table::sized_write_globals): Likewise.
62         * target.h (Sized_target::make_symbol): Add name, st_type, object,
63         st_shndx, and value parameters.
64
65 2016-03-03  Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
66
67         * plugin.cc (do_should_include_member): Ignore LDPK_UNDEF and
68         LDPK_WEAKUNDEF symbols.
69
70 2016-03-03  Than McIntosh  <thanm@google.com>
71
72         * plugin.cc (Plugin::load): Include hooks for get_input_section_size
73         and get_input_section_alignment in transfer vector.
74         (get_input_section_alignment): New function.
75         (get_input_section_size): New function.
76         * testsuite/Makefile.am: Add plugin_layout_with_alignment.sh test.
77         * testsuite/Makefile.in: [Regenerate.]
78         * testsuite/plugin_section_alignment.cc: New test file.
79         * testsuite/plugin_layout_with_alignment.cc: New test file.
80         * testsuite/plugin_layout_with_alignment.sh: New test file.
81
82 2016-03-03  Evgenii Stepanov  <eugenis@google.com>
83
84         * plugin.h (Pluginobj::get_symbol_resolution_info): Add version
85         parameter.
86         * plugin.cc (get_symbols_v3): New function.
87         (Plugin::load): Add LDPT_GET_SYMBOLS_V3.
88         (Pluginobj::get_symbol_resolution_info): Return LDPS_NO_SYMS when using
89         new version.
90
91 2016-02-26  Egor Kochetov  <egor.kochetov@intel.com>
92             Cary Coutant  <ccoutant@gmail.com>
93
94         PR gold/19735
95         * ehframe.h (Cie::fde_encoding): New method.
96         * ehframe.cc (Eh_frame::read_fde): Discard FDEs for zero-length
97         address ranges.
98
99 2016-02-15  H.J. Lu  <hongjiu.lu@intel.com>
100
101         * testsuite/Makefile.am (x86_64_mov_to_lea5.o): Pass
102         -mrelax-relocations=yes to $(TEST_AS).
103         (x86_64_mov_to_lea6.o): Likewise.
104         (x86_64_overflow_pc32.o): Remove duplicated target.
105         * testsuite/Makefile.in: Regenerated.
106
107 2016-02-15  Marcin Kościelnicki  <koriakin@0x04.net>
108
109         * s390.cc (Target_s390::match_view_u): New helper method.
110         (Target_s390::do_is_call_to_non_split): New method.
111         (Target_s390::ss_code_st_r14): New const.
112         (Target_s390::ss_code_l_r14): New const.
113         (Target_s390::ss_code_bras_8): New const.
114         (Target_s390::ss_code_l_basr): New const.
115         (Target_s390::ss_code_a_basr): New const.
116         (Target_s390::ss_code_ear): New const.
117         (Target_s390::ss_code_c): New const.
118         (Target_s390::ss_code_larl): New const.
119         (Target_s390::ss_code_brasl): New const.
120         (Target_s390::ss_code_jg): New const.
121         (Target_s390::ss_code_jgl): New const.
122         (Target_s390::ss_match_mcount): New helper method.
123         (Target_s390::ss_match_l): New helper method.
124         (Target_s390::ss_match_ahi): New helper method.
125         (Target_s390::ss_match_alfi): New helper method.
126         (Target_s390::ss_match_cr): New helper method.
127         (Target_s390::do_calls_non_split): New method.
128         * testsuite/Makefile.am: Added new tests.
129         * testsuite/Makefile.in: Regenerate.
130         * testsuite/split_s390.sh: New test.
131         * testsuite/split_s390_1_a1.s: New test.
132         * testsuite/split_s390_1_a2.s: New test.
133         * testsuite/split_s390_1_n1.s: New test.
134         * testsuite/split_s390_1_n2.s: New test.
135         * testsuite/split_s390_1_z1.s: New test.
136         * testsuite/split_s390_1_z2.s: New test.
137         * testsuite/split_s390_1_z3.s: New test.
138         * testsuite/split_s390_1_z4.s: New test.
139         * testsuite/split_s390_2_ns.s: New test.
140         * testsuite/split_s390_2_s.s: New test.
141         * testsuite/split_s390x_1_a1.s: New test.
142         * testsuite/split_s390x_1_a2.s: New test.
143         * testsuite/split_s390x_1_n1.s: New test.
144         * testsuite/split_s390x_1_n2.s: New test.
145         * testsuite/split_s390x_1_z1.s: New test.
146         * testsuite/split_s390x_1_z2.s: New test.
147         * testsuite/split_s390x_1_z3.s: New test.
148         * testsuite/split_s390x_1_z4.s: New test.
149         * testsuite/split_s390x_2_ns.s: New test.
150         * testsuite/split_s390x_2_s.s: New test.
151
152 2016-02-11 Rahul Chaudhry  <rahulchaudhry@google.com>
153
154         * aarch64.cc (Target_aarch64::scan_erratum_843419_span): Remove
155         info message for every erratum 843419 found and fixed.
156
157 2016-02-07  Cary Coutant  <ccoutant@gmail.com>
158
159         PR gold/18695
160         * x86_64.cc (Target_x86_64::Relocate::relocate): Add additional
161         information to relocation overflow errors.
162
163 2016-02-06  Cary Coutant  <ccoutant@gmail.com>
164
165         PR gold/18695
166         * x86_64.cc (X86_64_relocate_functions::pcrela32_check): Fix x32
167         overflow checking when symbol value + addend < 0.
168
169 2016-02-06  Cary Coutant  <ccoutant@gmail.com>
170
171         PR gold/19577
172         * reloc.h (Limits): New class.
173         (Bits::has_overflow32): Use min/max values from Limits.
174         (Bits::has_unsigned_overflow32): Likewise.
175         (Bits::has_signed_unsigned_overflow32): Likewise.
176         (Bits::has_overflow): Likewise.
177         (Bits::has_unsigned_overflow): Likewise.
178         (Bits::has_signed_unsigned_overflow64): Likewise.
179
180 2016-02-06  Cary Coutant  <ccoutant@gmail.com>
181
182         PR gold/19567
183         * reloc.h (Relocate_functions::Overflow_check): Add comments.
184         * x86_64.cc (X86_64_relocate_functions): New class.
185         (Target_x86_64::Relocate::relocate): Use the new class.
186         * testsuite/Makefile.am (x86_64_overflow_pc32): Add -Tdata option.
187         (x32_overflow_pc32): New test case.
188         * testsuite/Makefile.in: Regenerate.
189         * testsuite/x32_overflow_pc32.sh: New script.
190         * testsuite/x86_64_overflow_pc32.s: Remove .space directive.
191
192 2016-02-06  Cary Coutant  <ccoutant@gmail.com>
193
194         PR gold/19577
195         * reloc.h (Bits::has_unsigned_overflow32): Fix static_cast.
196         (Bits::has_unsigned_overflow): Remove unnecessary static_cast.
197
198 2016-02-06  Cary Coutant  <ccoutant@gmail.com>
199
200         PR gold/19577
201         * reloc.h (Bits::has_unsigned_overflow32): Fix unsigned/signed
202         comparison.
203         (Bits::has_unsigned_overflow): Likewise.
204
205 2016-02-06  Marcin Kościelnicki  <koriakin@0x04.net>
206
207         * i386.cc (Target_i386::is_call_to_non_split): Add view and view_size
208         parameters.
209         * reloc.cc (Sized_relobj_file::split_stack_adjust_reltype): Pass view
210         and view_size to is_call_to_non_split.
211         * target.cc (Target::is_call_to_non_split): Add view and view_size
212         parameters.
213         * target.h (class Target): Likewise.
214
215 2016-02-05  Sriraman Tallam  <tmsriram@google.com>
216
217         * icf.cc (get_rel_addend): New function.
218         (get_section_contents):  Move merge section addend computation to a
219         new function.  Ignore negative values for SHT_REL and SHT_RELA addends.
220         Fix bug to not read past the length of the section.
221
222 2016-02-05  Cary Coutant  <ccoutant@gmail.com>
223             Andrew Senkevich  <andrew.senkevich@intel.com>
224
225         PR gold/18695
226         * x86_64.cc (Target_x86_64::Relocate::relocate): Add overflow
227         checking for R_X86_64_32, R_X86_64_32S, R_X86_64_PC32, and
228         R_X86_64_PLT32.
229         * testsuite/Makefile.am (x86_64_overflow_pc32): New test.
230         * testsuite/x86_64_overflow_pc32.sh: New test script.
231         * testsuite/x86_64_overflow_pc32.s: New source file.
232
233 2016-02-05  Cary Coutant  <ccoutant@gmail.com>
234
235         PR gold/18695
236         * reloc.h (Relocate_functions::Address): New typedef.
237         (Relocate_functions::Addendtype): New typedef.
238         (Relocate_functions::Overflow_check): New enum type.
239         (Relocate_functions::Reloc_status): New enum type.
240         (Relocate_functions::check_overflow): New function template.
241         (Relocate_functions::rel): Add check parameter; check for overflow.
242         (Relocate_functions::rel_unaligned): Likewise.
243         (Relocate_functions::rela): Likewise.
244         (Relocate_functions::pcrel): Likewise.
245         (Relocate_functions::pcrel_unaligned): Likewise.
246         (Relocate_functions::pcrela): Likewise.
247         (Relocate_functions::rel8): Adjust parameter types.
248         (Relocate_functions::rela8): Likewise.
249         (Relocate_functions::pcrel8): Likewise.
250         (Relocate_functions::pcrela8): Likewise.
251         (Relocate_functions::rel16): Likewise.
252         (Relocate_functions::rela168): Likewise.
253         (Relocate_functions::pcrel16): Likewise.
254         (Relocate_functions::pcrela16): Likewise.
255         (Relocate_functions::rel32): Likewise.
256         (Relocate_functions::rel32_unaligned): Likewise.
257         (Relocate_functions::rela32): Likewise.
258         (Relocate_functions::pcrel32): Likewise.
259         (Relocate_functions::pcrel32_unaligned): Likewise.
260         (Relocate_functions::pcrela32): Likewise.
261         (Relocate_functions::rel8_check): New function.
262         (Relocate_functions::rela8_check): New function.
263         (Relocate_functions::pcrel8_check): New function.
264         (Relocate_functions::pcrela8_check): New function.
265         (Relocate_functions::rel16_check): New function.
266         (Relocate_functions::rela168_check): New function.
267         (Relocate_functions::pcrel16_check): New function.
268         (Relocate_functions::pcrela16_check): New function.
269         (Relocate_functions::rel32_check): New function.
270         (Relocate_functions::rel32_unaligned_check): New function.
271         (Relocate_functions::rela32_check): New function.
272         (Relocate_functions::pcrel32_check): New function.
273         (Relocate_functions::pcrel32_unaligned_check): New function.
274         (Relocate_functions::pcrela32_check): New function.
275         (Bits::has_unsigned_overflow32): New function.
276         (Bits::has_unsigned_overflow): New function.
277         * testsuite/Makefile.am (overflow_unittest): New test.
278         * testsuite/Makefile.in: Regenerate.
279         * testsuite/overflow_unittest.cc: New source file.
280
281 2016-02-04  Alan Modra  <amodra@gmail.com>
282
283         * powerpc.cc (relocate): Adjust last patch for big-endian.
284
285 2016-02-02  Alan Modra  <amodra@gmail.com>
286
287         * powerpc.cc (relocate): Further restrict ELFv2 entry optimization.
288
289 2016-01-15 Han Shen  <shenhan@google.com>
290
291         PR gold/19472 - need pc-relative stubs.
292
293         * aarch64.cc (Reloc_stub::stub_type_for_reloc): Return PC-relative
294         stub type for DSOs and pie executables.
295
296 2016-01-12  H.J. Lu  <hongjiu.lu@intel.com>
297
298         * i386.cc (Target_i386::Classify_reloc::get_r_addend): Remove
299         'typename'.
300
301 2016-01-12  Cary Coutant  <ccoutant@gmail.com>
302
303         * arm.cc (Target_arm::Classify_reloc::get_r_addend): New method.
304         * i386.cc (Target_i386::Classify_reloc::get_r_addend): New method.
305         * mips.cc (Target_arm::Mips_classify_reloc::get_r_addend): (Both
306         specializations) New method.
307
308 2016-01-11  Cary Coutant  <ccoutant@gmail.com>
309
310         PR gold/19353
311         * aarch64.cc (Target_aarch64::relocate_tls): Don't insist that
312         we have a TLS segment for GD-to-IE optimization.
313         * i386.cc (Target_i386::tls_gd_to_ie): Remove tls_segment parameter.
314         Adjust all calls.
315         (Target_i386::tls_desc_gd_to_ie): Likewise.
316         (Target_i386::relocate_tls): Don't insist that we have a TLS segment
317         for TLSDESC GD-to-IE optimizations.
318         * x86_64.cc (Target_x86_64::tls_gd_to_ie): Remove tls_segment parameter.
319         Adjust all calls.
320         (Target_x86_64::tls_desc_gd_to_ie): Likewise.
321         (Target_x86_64::relocate_tls): Don't insist that we have a TLS segment
322         for TLSDESC GD-to-IE optimizations.
323
324 2016-01-11  Cary Coutant  <ccoutant@gmail.com>
325
326         Refactor gold to enable support for MIPS-64 relocation format.
327
328         * gc.h (get_embedded_addend_size): Remove sh_type parameter.
329         (gc_process_relocs): Remove sh_type template parameter.
330         Use Classify_reloc to access r_sym, r_type, and r_addend fields.
331         * object.h (Sized_relobj_file::split_stack_adjust): Add target
332         parameter.
333         (Sized_relobj_file::split_stack_adjust_reltype): Likewise.
334         * reloc-types.h (Reloc_types::copy_reloc_addend): (SHT_REL and SHT_RELA
335         specializations) Remove.
336         * reloc.cc (Emit_relocs_strategy): Rename and move to target-reloc.h.
337         (Sized_relobj_file::emit_relocs_scan): Call Target::emit_relocs_scan().
338         (Sized_relobj_file::emit_relocs_scan_reltype): Remove.
339         (Sized_relobj_file::split_stack_adjust): Add target parameter.
340         Adjust all callers.
341         (Sized_relobj_file::split_stack_adjust_reltype): Likewise. Call
342         Target::get_r_sym() to get r_sym field from relocations.
343         (Track_relocs::next_symndx): Call Target::get_r_sym().
344         * target-reloc.h (scan_relocs): Remove sh_type template parameter;
345         add Classify_reloc template parameter.  Use for accessing r_sym and
346         r_type.
347         (relocate_section): Likewise.
348         (Default_classify_reloc): New class (renamed and moved from reloc.cc).
349         (Default_scan_relocatable_relocs): Remove sh_type template parameter.
350         (Default_scan_relocatable_relocs::Reltype): New typedef.
351         (Default_scan_relocatable_relocs::reloc_size): New const.
352         (Default_scan_relocatable_relocs::sh_type): New const.
353         (Default_scan_relocatable_relocs::get_r_sym): New method.
354         (Default_scan_relocatable_relocs::get_r_type): New method.
355         (Default_emit_relocs_strategy): New class.
356         (scan_relocatable_relocs): Replace sh_type template parameter with
357         Scan_relocatable_relocs class.  Use it to access r_sym and r_type
358         fields.
359         (relocate_relocs): Replace sh_type template parameter with
360         Classify_reloc class.  Use it to access r_sym and r_type fields.
361         * target.h (Target::is_call_to_non_split): Replace r_type parameter
362         with pointer to relocation. Adjust all callers.
363         (Target::do_is_call_to_non_split): Likewise.
364         (Target::emit_relocs_scan): New virtual method.
365         (Sized_target::get_r_sym): New virtual method.
366         * target.cc (Target::do_is_call_to_non_split): Replace r_type parameter
367         with pointer to relocation.
368
369         * aarch64.cc (Target_aarch64::emit_relocs_scan): New method.
370         (Target_aarch64::Relocatable_size_for_reloc): Remove.
371         (Target_aarch64::gc_process_relocs): Use Default_classify_reloc.
372         (Target_aarch64::scan_relocs): Likewise.
373         (Target_aarch64::relocate_section): Likewise.
374         (Target_aarch64::Relocatable_size_for_reloc::get_size_for_reloc):
375         Remove.
376         (Target_aarch64::scan_relocatable_relocs): Use Default_classify_reloc.
377         (Target_aarch64::relocate_relocs): Use Default_classify_reloc.
378         * arm.cc (Target_arm::Arm_scan_relocatable_relocs): Remove sh_type
379         template parameter.
380         (Target_arm::emit_relocs_scan): New method.
381         (Target_arm::Relocatable_size_for_reloc): Replace with...
382         (Target_arm::Classify_reloc): ...this.
383         (Target_arm::gc_process_relocs): Use Classify_reloc.
384         (Target_arm::scan_relocs): Likewise.
385         (Target_arm::relocate_section): Likewise.
386         (Target_arm::scan_relocatable_relocs): Likewise.
387         (Target_arm::relocate_relocs): Likewise.
388         * i386.cc (Target_i386::emit_relocs_scan): New method.
389         (Target_i386::Relocatable_size_for_reloc): Replace with...
390         (Target_i386::Classify_reloc): ...this.
391         (Target_i386::gc_process_relocs): Use Classify_reloc.
392         (Target_i386::scan_relocs): Likewise.
393         (Target_i386::relocate_section): Likewise.
394         (Target_i386::scan_relocatable_relocs): Likewise.
395         (Target_i386::relocate_relocs): Likewise.
396         * mips.cc (Mips_scan_relocatable_relocs): Remove sh_type template
397         parameter.
398         (Mips_reloc_types): New class template.
399         (Mips_classify_reloc): New class template.
400         (Target_mips::Reltype): New typedef.
401         (Target_mips::Relatype): New typedef.
402         (Target_mips::emit_relocs_scan): New method.
403         (Target_mips::get_r_sym): New method.
404         (Target_mips::Relocatable_size_for_reloc): Replace with
405         Mips_classify_reloc.
406         (Target_mips::copy_reloc): Use Mips_classify_reloc.
407         (Target_mips::gc_process_relocs): Likewise.
408         (Target_mips::scan_relocs): Likewise.
409         (Target_mips::relocate_section): Likewise.
410         (Target_mips::scan_relocatable_relocs): Likewise.
411         (Target_mips::relocate_relocs): Likewise.
412         (mips_get_size_for_reloc): New function, factored out from
413         Relocatable_size_for_reloc::get_size_for_reloc.
414         (Target_mips::Scan::local): Use Mips_classify_reloc.
415         (Target_mips::Scan::global): Likewise.
416         (Target_mips::Relocate::relocate): Likewise.
417         * powerpc.cc (Target_powerpc::emit_relocs_scan): New method.
418         (Target_powerpc::Relocatable_size_for_reloc): Remove.
419         (Target_powerpc::gc_process_relocs): Use Default_classify_reloc.
420         (Target_powerpc::scan_relocs): Likewise.
421         (Target_powerpc::relocate_section): Likewise.
422         (Powerpc_scan_relocatable_reloc): Convert to class template.
423         (Powerpc_scan_relocatable_reloc::Reltype): New typedef.
424         (Powerpc_scan_relocatable_reloc::reloc_size): New const.
425         (Powerpc_scan_relocatable_reloc::sh_type): New const.
426         (Powerpc_scan_relocatable_reloc::get_r_sym): New method.
427         (Powerpc_scan_relocatable_reloc::get_r_type): New method.
428         (Target_powerpc::scan_relocatable_relocs): Use
429         Powerpc_scan_relocatable_reloc.
430         (Target_powerpc::relocate_relocs): Use Default_classify_reloc.
431         * s390.cc (Target_s390::emit_relocs_scan): New method.
432         (Target_s390::Relocatable_size_for_reloc): Remove.
433         (Target_s390::gc_process_relocs): Use Default_classify_reloc.
434         (Target_s390::scan_relocs): Likewise.
435         (Target_s390::relocate_section): Likewise.
436         (Target_s390::Relocatable_size_for_reloc::get_size_for_reloc):
437         Remove.
438         (Target_s390::scan_relocatable_relocs): Use Default_classify_reloc.
439         (Target_s390::relocate_relocs): Use Default_classify_reloc.
440         * sparc.cc (Target_sparc::emit_relocs_scan): New method.
441         (Target_sparc::Relocatable_size_for_reloc): Remove.
442         (Target_sparc::gc_process_relocs): Use Default_classify_reloc.
443         (Target_sparc::scan_relocs): Likewise.
444         (Target_sparc::relocate_section): Likewise.
445         (Target_sparc::Relocatable_size_for_reloc::get_size_for_reloc):
446         Remove.
447         (Target_sparc::scan_relocatable_relocs): Use Default_classify_reloc.
448         (Target_sparc::relocate_relocs): Use Default_classify_reloc.
449         * tilegx.cc (Target_tilegx::emit_relocs_scan): New method.
450         (Target_tilegx::Relocatable_size_for_reloc): Remove.
451         (Target_tilegx::gc_process_relocs): Use Default_classify_reloc.
452         (Target_tilegx::scan_relocs): Likewise.
453         (Target_tilegx::relocate_section): Likewise.
454         (Target_tilegx::Relocatable_size_for_reloc::get_size_for_reloc):
455         Remove.
456         (Target_tilegx::scan_relocatable_relocs): Use Default_classify_reloc.
457         (Target_tilegx::relocate_relocs): Use Default_classify_reloc.
458         * x86_64.cc (Target_x86_64::emit_relocs_scan): New method.
459         (Target_x86_64::Relocatable_size_for_reloc): Remove.
460         (Target_x86_64::gc_process_relocs): Use Default_classify_reloc.
461         (Target_x86_64::scan_relocs): Likewise.
462         (Target_x86_64::relocate_section): Likewise.
463         (Target_x86_64::Relocatable_size_for_reloc::get_size_for_reloc):
464         Remove.
465         (Target_x86_64::scan_relocatable_relocs): Use Default_classify_reloc.
466         (Target_x86_64::relocate_relocs): Use Default_classify_reloc.
467
468         * testsuite/testfile.cc (Target_test::emit_relocs_scan): New method.
469
470 2016-01-01  Alan Modra  <amodra@gmail.com>
471
472         Update year range in copyright notice of all files.
473
474 For older changes see ChangeLog-0815
475 \f
476 Copyright (C) 2016 Free Software Foundation, Inc.
477
478 Copying and distribution of this file, with or without modification,
479 are permitted in any medium without royalty provided the copyright
480 notice and this notice are preserved.
481
482 Local Variables:
483 mode: change-log
484 left-margin: 8
485 fill-column: 74
486 version-control: never
487 End: