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