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