MIPS/BFD: Don't stop processing on `bfd_reloc_outofrange'
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2016-05-26 Maciej W. Rozycki <macro@imgtec.com>
2
3 * elfxx-mips.c (_bfd_mips_elf_relocate_section)
4 <bfd_reloc_outofrange>: Use the `%X%H' rather than `%C' format
5 for message. Continue processing rather than returning failure.
6
7 2016-05-25 Maciej W. Rozycki <macro@imgtec.com>
8
9 * elfxx-mips.c (_bfd_mips_elf_relocate_section)
10 <bfd_reloc_outofrange>: Call `->einfo' rather than `->warning'.
11 Call `bfd_set_error'.
12
13 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
14
15 PR binutils/14625
16 * archive.c (bfd_slurp_armap): Replace
17 bfd_elf64_archive_slurp_armap with
18 _bfd_archive_64_bit_slurp_armap.
19 (bsd_write_armap): Call _bfd_archive_64_bit_write_armap if
20 BFD64 is defined and the archive is too big.
21 (coff_write_armap): Likewise.
22 * archive64.c (bfd_elf64_archive_slurp_armap): Renamed to ...
23 (_bfd_archive_64_bit_slurp_armap): This.
24 (bfd_elf64_archive_write_armap): Renamed to ...
25 (_bfd_archive_64_bit_write_armap): This.
26 * configure.ac: Add --enable-64-bit-archive.
27 (want_64_bit_archive): New. Set to true by default for 64-bit
28 MIPS and s390 ELF targets.
29 (USE_64_BIT_ARCHIVE): New AC_DEFINE.
30 * config.in: Regenerated.
31 * configure: Likewise.
32 * elf64-mips.c (bfd_elf64_archive_functions): Removed.
33 (bfd_elf64_archive_slurp_armap): Likewise.
34 (bfd_elf64_archive_write_armap): Likewise.
35 (bfd_elf64_archive_slurp_extended_name_table): Likewise.
36 (bfd_elf64_archive_construct_extended_name_table): Likewise.
37 (bfd_elf64_archive_truncate_arname): Likewise.
38 (bfd_elf64_archive_read_ar_hdr): Likewise.
39 (bfd_elf64_archive_write_ar_hdr): Likewise.
40 (bfd_elf64_archive_openr_next_archived_file): Likewise.
41 (bfd_elf64_archive_get_elt_at_index): Likewise.
42 (bfd_elf64_archive_generic_stat_arch_elt): Likewise.
43 (bfd_elf64_archive_update_armap_timestamp): Likewise.
44 * elf64-s390.c (bfd_elf64_archive_functions): Removed.
45 (bfd_elf64_archive_slurp_armap): Likewise.
46 (bfd_elf64_archive_write_armap): Likewise.
47 (bfd_elf64_archive_slurp_extended_name_table): Likewise.
48 (bfd_elf64_archive_construct_extended_name_table): Likewise.
49 (bfd_elf64_archive_truncate_arname): Likewise.
50 (bfd_elf64_archive_read_ar_hdr): Likewise.
51 (bfd_elf64_archive_write_ar_hdr): Likewise.
52 (bfd_elf64_archive_openr_next_archived_file): Likewise.
53 (bfd_elf64_archive_get_elt_at_index): Likewise.
54 (bfd_elf64_archive_generic_stat_arch_elt): Likewise.
55 (bfd_elf64_archive_update_armap_timestamp): Likewise.
56 * elfxx-target.h (TARGET_BIG_SYM): Use _bfd_archive_64_bit on
57 BFD_JUMP_TABLE_ARCHIVE if USE_64_BIT_ARCHIVE is defined and
58 bfd_elfNN_archive_functions isn't defined.
59 (TARGET_LITTLE_SYM): Likewise.
60 * libbfd-in.h (_bfd_archive_64_bit_slurp_armap): New prototype.
61 (_bfd_archive_64_bit_write_armap): Likewise.
62 (_bfd_archive_64_bit_slurp_extended_name_table): New macro.
63 (_bfd_archive_64_bit_construct_extended_name_table): Likewise.
64 (_bfd_archive_64_bit_truncate_arname): Likewise.
65 (_bfd_archive_64_bit_read_ar_hdr): Likewise.
66 (_bfd_archive_64_bit_write_ar_hdr): Likewise.
67 (_bfd_archive_64_bit_openr_next_archived_file): Likewise.
68 (_bfd_archive_64_bit_get_elt_at_index): Likewise.
69 (_bfd_archive_64_bit_generic_stat_arch_elt): Likewise.
70 (_bfd_archive_64_bit_update_armap_timestamp): Likewise.
71 * libbfd.h: Regenerated.
72 * plugin.c (plugin_vec): Use _bfd_archive_64_bit on
73 BFD_JUMP_TABLE_ARCHIVE if USE_64_BIT_ARCHIVE is defined.
74
75 2016-05-25 H.J. Lu <hongjiu.lu@intel.com>
76
77 PR ld/20103
78 * cofflink.c (coff_link_check_archive_element): Return TRUE if
79 linker add_archive_element callback returns FALSE.
80 * ecoff.c (ecoff_link_check_archive_element): Likewise.
81 * elf64-ia64-vms.c (elf64_vms_link_add_archive_symbols): Skip
82 archive element if linker add_archive_element callback returns
83 FALSE.
84 * elflink.c (elf_link_add_archive_symbols): Likewise.
85 * pdp11.c (aout_link_check_ar_symbols): Likewise.
86 * vms-alpha.c (alpha_vms_link_add_archive_symbols): Likewise.
87 * xcofflink.c (xcoff_link_check_dynamic_ar_symbols): Likewise.
88 (xcoff_link_check_ar_symbols): Likewise.
89
90 2016-05-24 Maciej W. Rozycki <macro@imgtec.com>
91
92 * elfxx-mips.c (_bfd_mips_elf_relocate_section)
93 <bfd_reloc_outofrange>: Unify error reporting code.
94
95 2016-05-23 Jim Wilson <jim.wilson@linaro.org>
96
97 * elfnn-aarch64.c: Unconditionally enable R_AARCH64_NULL and
98 R_AARCH64_NONE. Use HOWTO64 for R_AARCH64_NULL.
99 * relocs.c: Add BFD_RELOC_AARCH64_NULL.
100 * bfd-in2.h: Regenerate.
101 * libbfd.h: Likewise.
102
103 2016-05-23 Kuba Sejdak <jakub.sejdak@phoesys.com>
104
105 * config.bfd: Add entry for arm-phoenix.
106
107 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
108
109 * elf32-arm.c (arm_dedicated_stub_section_padding): New function.
110 (elf32_arm_size_stubs): Declare stub_type in a more outer scope and
111 account for padding for stub section requiring one.
112 (elf32_arm_build_stubs): Add comment to stress the importance of
113 zeroing veneer section content.
114
115 2016-05-23 Thomas Preud'homme <thomas.preudhomme@arm.com>
116
117 * bfd-in.h (bfd_elf32_arm_keep_private_stub_output_sections): Declare
118 bfd hook.
119 * bfd-in2.h: Regenerate.
120 * elf32-arm.c (arm_dedicated_stub_output_section_required): New
121 function.
122 (arm_dedicated_stub_output_section_required_alignment): Likewise.
123 (arm_dedicated_stub_output_section_name): Likewise.
124 (arm_dedicated_stub_input_section_ptr): Likewise.
125 (elf32_arm_create_or_find_stub_sec): Add stub type parameter and
126 function description comment. Add support for dedicated output stub
127 section to given stub types.
128 (elf32_arm_add_stub): Add a stub type parameter and pass it down to
129 elf32_arm_create_or_find_stub_sec.
130 (elf32_arm_create_stub): Pass stub type down to elf32_arm_add_stub.
131 (elf32_arm_size_stubs): Pass stub type when calling
132 elf32_arm_create_or_find_stub_sec for Cortex-A8 erratum veneers.
133 (bfd_elf32_arm_keep_private_stub_output_sections): New function.
134
135 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
136
137 * elf32-i386.c (elf_i386_check_relocs): Don't check R_386_GOT32
138 when setting need_convert_load.
139
140 2016-05-20 Maciej W. Rozycki <macro@imgtec.com>
141
142 * elfxx-mips.c (mips_elf_read_rel_addend): Adjust the addend for
143 microMIPS JALX.
144
145 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
146
147 PR ld/20117
148 * elf32-i386.c (elf_i386_convert_load_reloc): Don't check
149 R_386_GOT32X.
150 (elf_i386_convert_load): Don't convert R_386_GOT32.
151
152 2016-05-20 Alan Modra <amodra@gmail.com>
153
154 PR gas/20118
155 * elf.c (elf_fake_sections): Set sh_entsize for SHT_INIT_ARRAY,
156 SHT_FINI_ARRAY, and SHT_PREINIT_ARRAY.
157
158 2016-05-19 Cupertino Miranda <cmiranda@synopsys.com>
159
160 * elf32-arc.c (arc_elf_final_write_processing): Changed.
161 (debug_arc_reloc): Likewise.
162 (elf_arc_relocate_section): Likewise.
163 (elf_arc_check_relocs): Likewise.
164 (elf_arc_adjust_dynamic_symbol): Likewise.
165 (elf_arc_add_symbol_hook): Likewise.
166
167 2016-05-19 Maciej W. Rozycki <macro@imgtec.com>
168
169 * config.bfd: Remove `am34-*-linux*' support.
170
171 2016-05-19 Alan Modra <amodra@gmail.com>
172
173 * elf64-ppc.c (allocate_dynrelocs): Allocate got and other dynamic
174 relocs before plt relocs.
175
176 2016-05-19 Alan Modra <amodra@gmail.com>
177
178 * elf64-ppc.c (ppc64_elf_branch_reloc): Check for NULL owner
179 before dereferencing.
180
181 2016-05-18 Nick Clifton <nickc@redhat.com>
182
183 * po/sv.po: Updated Swedish translation.
184
185 2016-05-18 Alan Modra <amodra@gmail.com>
186
187 * elf32-arm.c (elf32_arm_size_stubs): Free or cache local syms
188 for each BFD. Don't goto error_ret_free_local from outside loop.
189
190 2016-05-17 Maciej W. Rozycki <macro@imgtec.com>
191
192 * elf-s390-common.c (elf_s390_add_symbol_hook): Remove
193 STB_GNU_UNIQUE handling.
194 * elf32-arc.c (elf_arc_add_symbol_hook): Likewise.
195 * elf32-arm.c (elf32_arm_add_symbol_hook): Likewise.
196 * elf32-m68k.c (elf_m68k_add_symbol_hook): Likewise.
197 * elf32-ppc.c (ppc_elf_add_symbol_hook): Likewise.
198 * elf32-sparc.c (elf32_sparc_add_symbol_hook): Likewise.
199 * elf64-ppc.c (ppc64_elf_add_symbol_hook): Likewise.
200 * elf64-sparc.c (elf64_sparc_add_symbol_hook): Likewise.
201 * elf64-x86-64.c (elf_x86_64_add_symbol_hook): Likewise.
202 * elfxx-aarch64.c (_bfd_aarch64_elf_add_symbol_hook): Likewise.
203 * elfxx-mips.c (_bfd_mips_elf_add_symbol_hook): Likewise.
204 * elf32-i386.c (elf_i386_add_symbol_hook): Remove function.
205 (elf_backend_add_symbol_hook): Remove macro.
206 * elflink.c (elf_link_add_object_symbols): Set `has_gnu_symbols'
207 for STB_GNU_UNIQUE symbols.
208
209 2016-05-16 Maciej W. Rozycki <macro@imgtec.com>
210
211 * elf32-v850.c (v850_elf_copy_notes): New function, factored out
212 from...
213 (v850_elf_copy_private_bfd_data): ... here. Call the new
214 function and `_bfd_elf_copy_private_bfd_data'.
215
216 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
217
218 PR ld/20093
219 * elf64-x86-64.c (elf_x86_64_convert_load_reloc): Don't convert
220 GOTPCREL relocation against large section.
221
222 2016-05-13 Alan Modra <amodra@gmail.com>
223
224 * elf-m10300.c (_bfd_mn10300_elf_finish_dynamic_sections): Use
225 linker dynamic sections in calculating size and address of
226 dynamic tags rather than using output sections. Remove asserts.
227 * elf32-arm.c (elf32_arm_finish_dynamic_sections): Likewise.
228 * elf32-cr16.c (_bfd_cr16_elf_finish_dynamic_sections): Likewise.
229 * elf32-cris.c (elf_cris_finish_dynamic_sections): Likewise.
230 * elf32-i370.c (i370_elf_finish_dynamic_sections): Likewise.
231 * elf32-lm32.c (lm32_elf_finish_dynamic_sections): Likewise.
232 * elf32-m32r.c (m32r_elf_finish_dynamic_sections): Likewise.
233 * elf32-m68k.c (elf_m68k_finish_dynamic_sections): Likewise.
234 * elf32-metag.c (elf_metag_finish_dynamic_sections): Likewise.
235 * elf32-microblaze.c (microblaze_elf_finish_dynamic_sections): Likewise.
236 * elf32-nds32.c (nds32_elf_finish_dynamic_sections): Likewise.
237 * elf32-nios2.c (nios2_elf32_finish_dynamic_sections): Likewise.
238 * elf32-or1k.c (or1k_elf_finish_dynamic_sections): Likewise.
239 * elf32-s390.c (elf_s390_finish_dynamic_sections): Likewise.
240 * elf32-score.c (s3_bfd_score_elf_finish_dynamic_sections): Likewise.
241 * elf32-score7.c (s7_bfd_score_elf_finish_dynamic_sections): Likewise.
242 * elf32-vax.c (elf_vax_finish_dynamic_sections): Likewise.
243 * elf32-xtensa.c (elf_xtensa_finish_dynamic_sections): Likewise.
244 * elf64-alpha.c (elf64_alpha_finish_dynamic_sections): Likewise.
245 * elf64-s390.c (elf_s390_finish_dynamic_sections): Likewise.
246 * elf64-sh64.c (sh64_elf64_finish_dynamic_sections): Likewise.
247 * elflink.c (bfd_elf_final_link): Likewise.
248 * elfxx-mips.c (_bfd_mips_elf_finish_dynamic_sections): Likewise.
249 * elfxx-sparc.c (sparc_finish_dyn): Likewise. Adjust error message.
250 * elf32-arc.c (GET_SYMBOL_OR_SECTION): Remove ASSERT arg and
251 don't set doit. Look up dynobj section.
252 (elf_arc_finish_dynamic_sections): Adjust GET_SYMBOL_OR_SECTION
253 invocation and dynamic tag vma calculation. Don't test
254 boolean var == TRUE.
255 * elfnn-aarch64.c (elfNN_aarch64_finish_dynamic_sections): Fix
256 DT_JMPREL calc.
257
258 2016-05-13 Alan Modra <amodra@gmail.com>
259
260 * elflink.c (elf_link_sort_relocs): Wrap overlong lines. Fix
261 octets_per_byte. Put dynamic .rela.plt last in link orders.
262 Assign output_offset for reloc sections rather than writing
263 sorted relocs from block corresponding to output_offset.
264
265 2016-05-12 Alan Modra <amodra@gmail.com>
266
267 * elf-bfd.h (elf_reloc_type_class): Put reloc_class_plt last.
268
269 2016-05-11 Andrew Bennett <andrew.bennett@imgtec.com>
270
271 * elfxx-mips.c (print_mips_ases): Add DSPR3.
272
273 2016-05-11 Alan Modra <amodra@gmail.com>
274
275 * elf32-hppa.c (elf32_hppa_init_stub_bfd): New function.
276 (elf32_hppa_check_relocs): Don't set dynobj.
277 (elf32_hppa_size_stubs): Test !SEC_LINKER_CREATED for stub sections.
278 (elf32_hppa_build_stubs): Likewise.
279 * elf32-hppa.h (elf32_hppa_init_stub_bfd): Declare.
280
281 2016-05-11 Alan Modra <amodra@gmail.com>
282
283 PR 20060
284 * elf64-ppc.c (ppc64_elf_tls_setup): Clear forced_local.
285 * elf32-ppc.c (ppc_elf_tls_setup): Likewise.
286
287 2016-05-10 Jiong Wang <jiong.wang@arm.com>
288
289 * elfnn-aarch64.c (elfNN_aarch64_final_link_relocate): Remove redundant
290 aarch64_tls_transition check.
291
292 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
293
294 * elf32-arm.c (enum elf32_arm_stub_type): New max_stub_type
295 enumerator.
296 (arm_stub_sym_claimed): New function.
297 (elf32_arm_create_stub): Use veneered symbol name and section if
298 veneer needs to claim its symbol, and keep logic unchanged otherwise.
299 (arm_stub_claim_sym): New function.
300 (arm_map_one_stub): Call arm_stub_claim_sym if veneer needs to claim
301 veneered symbol, otherwise create local symbol as before.
302
303 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
304
305 * elf32-arm.c (elf32_arm_size_stubs): Use new macros
306 ARM_GET_SYM_BRANCH_TYPE and ARM_SET_SYM_BRANCH_TYPE to respectively get
307 and set branch type of a symbol.
308 (bfd_elf32_arm_process_before_allocation): Likewise.
309 (elf32_arm_relocate_section): Likewise and fix identation along the
310 way.
311 (allocate_dynrelocs_for_symbol): Likewise.
312 (elf32_arm_finish_dynamic_symbol): Likewise.
313 (elf32_arm_swap_symbol_in): Likewise.
314 (elf32_arm_swap_symbol_out): Likewise.
315
316 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
317
318 * bfd-in.h (elf32_arm_size_stubs): Add an output section parameter.
319 * bfd-in2.h: Regenerated.
320 * elf32-arm.c (struct elf32_arm_link_hash_table): Add an output section
321 parameter to add_stub_section callback.
322 (elf32_arm_create_or_find_stub_sec): Get output section from link_sec
323 and pass it down to add_stub_section.
324 (elf32_arm_add_stub): Set section to stub_sec if NULL before using it
325 for error message.
326 (elf32_arm_size_stubs): Add output section parameter to
327 add_stub_section function pointer parameter.
328
329 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
330
331 * elf32-arm.c (elf32_arm_create_stub): New function.
332 (elf32_arm_size_stubs): Use elf32_arm_create_stub for stub creation.
333
334 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
335
336 * elf32-arm.c (enum elf32_arm_stub_type): Delete
337 arm_stub_a8_veneer_lwm enumerator.
338 (arm_stub_a8_veneer_lwm): New unsigned constant to replace
339 aforementioned enumerator.
340 (struct elf32_arm_stub_hash_entry): Delete target_addend
341 field and add source_value.
342 (struct a8_erratum_fix): Delete addend field and add target_offset.
343 (stub_hash_newfunc): Initialize source_value field amd remove
344 initialization for target_addend.
345 (arm_build_one_stub): Stop special casing Thumb relocations: promote
346 the else to being always executed, moving the
347 arm_stub_a8_veneer_b_cond specific code in it. Remove
348 stub_entry->target_addend from points_to computation.
349 (cortex_a8_erratum_scan): Store in a8_erratum_fix structure the offset
350 to target symbol from start of section rather than the offset from the
351 stub address.
352 (elf32_arm_size_stubs): Set stub_entry's source_value and target_value
353 fields from struct a8_erratum_fix's offset and target_offset
354 respectively.
355 (make_branch_to_a8_stub): Rename target variable to loc. Compute
356 veneered_insn_loc and loc using stub_entry's source_value.
357
358 2016-05-10 Thomas Preud'homme <thomas.preudhomme@arm.com>
359
360 (elf32_arm_merge_eabi_attributes): Add merging logic for
361 Tag_DSP_extension.
362
363 2016-05-10 Pip Cet <pipcet@gmail.com>
364
365 PR ld/20059
366 * elfxx-target.h (bfd_elfNN_bfd_copy_link_hash_symbol_type):
367 Define as _bfd_generic_copy_link_hash_symbol_type when using
368 generic hash table.
369
370 2016-05-09 Nick Clifton <nickc@redhat.com>
371
372 PR binutils/20063
373 * elf.c (bfd_elf_get_elf_syms): Check for out of range sh_link
374 field before accessing sections array.
375
376 2016-05-09 Christophe Monat <christophe.monat@st.com>
377
378 PR ld/20030
379 * elf32-arm.c (is_thumb2_vldm): Account for T1 (DP) encoding.
380 (stm32l4xx_need_create_replacing_stub): Rename ambiguous nb_regs
381 to nb_words.
382 (create_instruction_vldmia): Add is_dp to disambiguate SP/DP
383 encoding.
384 (create_instruction_vldmdb): Likewise.
385 (stm32l4xx_create_replacing_stub_vldm): is_dp detects DP encoding,
386 uses it to re-encode.
387
388 2016-05-09 Nick Clifton <nickc@redhat.com>
389
390 PR 19938
391 * elf32-arm.c (elf32_arm_adjust_dynamic_symbol): Revert accidental
392 commit.
393
394 2016-05-09 Alan Modra <amodra@gmail.com>
395
396 * elf64-ppc.c (ppc64_elf_init_stub_bfd): Remove redundant NULL check.
397
398 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
399
400 PR ld/17550
401 * elf-bfd.h (elf_link_hash_entry): Update comments for indx,
402 documenting that indx == -3 if symbol is defined in a discarded
403 section.
404 * elflink.c (elf_link_add_object_symbols): Set indx to -3 if
405 symbol is defined in a discarded section.
406 (elf_link_output_extsym): Strip a global symbol defined in a
407 discarded section.
408
409 2016-05-06 H.J. Lu <hongjiu.lu@intel.com>
410
411 * elf32-i386.c (elf_backend_add_symbol_hook): Defined for Intel
412 MCU.
413
414 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
415
416 * elf32-i386.c (elf_i386_convert_load): Extract the GOT load
417 conversion to ...
418 (elf_i386_convert_load_reloc): This. New function.
419 * elf64-x86-64.c (elf_x86_64_convert_load): Extract the GOT load
420 conversion to ...
421 (elf_x86_64_convert_load_reloc): This. New function.
422
423 2016-05-05 H.J. Lu <hongjiu.lu@intel.com>
424
425 * elf32-i386.c (elf_i386_check_tls_transition): Remove abfd.
426 Don't check if contents == NULL.
427 (elf_i386_tls_transition): Add from_relocate_section. Check
428 from_relocate_section instead of contents != NULL. Update
429 elf_i386_check_tls_transition call.
430 (elf_i386_check_relocs): Cache the section contents if
431 keep_memory is FALSE. Pass FALSE as from_relocate_section to
432 elf_i386_tls_transition.
433 (elf_i386_relocate_section): Pass TRUE as from_relocate_section
434 to elf_i386_tls_transition.
435 (elf_backend_caches_rawsize): New.
436 * elf64-x86-64.c (elf_x86_64_check_tls_transition): Don't check
437 if contents == NULL.
438 (elf_x86_64_tls_transition): Add from_relocate_section. Check
439 from_relocate_section instead of contents != NULL.
440 (elf_x86_64_check_relocs): Cache the section contents if
441 keep_memory is FALSE. Pass FALSE as from_relocate_section to
442 elf_x86_64_tls_transition.
443 (elf_x86_64_relocate_section): Pass TRUE as from_relocate_section
444 to elf_x86_64_tls_transition.
445 (elf_backend_caches_rawsize): New.
446
447 2016-05-03 Maciej W. Rozycki <macro@imgtec.com>
448
449 PR 10549
450 * elfxx-mips.c (_bfd_mips_elf_add_symbol_hook): Handle
451 STB_GNU_UNIQUE.
452
453 2016-05-03 Jiong Wang <jiong.wang@arm.com>
454
455 * bfd-in.h (bfd_elf64_aarch64_set_options): Update prototype.
456 * bfd-in2.h (bfd_elf64_aarch64_set_options): Likewise.
457 * elfnn-aarch64.c (bfd_elfNN_aarch64_set_options): Initialize
458 no_apply_dynamic_relocs.
459 (elfNN_aarch64_final_link_relocate): Apply absolute relocations even though
460 dynamic relocations generated.
461
462 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
463
464 * elf32-i386.c (elf_i386_size_dynamic_sections): Move interp
465 setting to ...
466 (elf_i386_create_dynamic_sections): Here.
467 * elf64-x86-64.c (elf_x86_64_size_dynamic_sections): Move
468 interp setting to ...
469 (elf_x86_64_create_dynamic_sections): Here.
470
471 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
472
473 * elf32-i386.c (UNDEFINED_WEAK_RESOLVED_TO_ZERO): Take GOT_RELOC
474 and replace (EH)->has_got_reloc with GOT_RELOC.
475 (elf_i386_fixup_symbol): Pass has_got_reloc to
476 UNDEFINED_WEAK_RESOLVED_TO_ZERO.
477 (elf_i386_allocate_dynrelocs): Likewise.
478 (elf_i386_relocate_section): Likewise.
479 (elf_i386_finish_dynamic_symbol): Likewise.
480 (elf_i386_convert_load): Pass TRUE to
481 UNDEFINED_WEAK_RESOLVED_TO_ZERO.
482 * elf64-x86-64.c (UNDEFINED_WEAK_RESOLVED_TO_ZERO): Take
483 GOT_RELOC and replace (EH)->has_got_reloc with GOT_RELOC.
484 (elf_x86_64_fixup_symbol): Pass has_got_reloc to
485 UNDEFINED_WEAK_RESOLVED_TO_ZERO.
486 (elf_x86_64_allocate_dynrelocs): Likewise.
487 (elf_x86_64_relocate_section): Likewise.
488 (elf_x86_64_finish_dynamic_symbol): Likewise.
489 (elf_x86_64_convert_load): Pass TRUE to
490 UNDEFINED_WEAK_RESOLVED_TO_ZERO.
491
492 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
493
494 * elf32-i386.c (check_relocs_failed): New.
495 (elf_i386_check_relocs): Set check_relocs_failed on error.
496 (elf_i386_relocate_section): Skip if check_relocs failed.
497
498 2016-04-29 H.J. Lu <hongjiu.lu@intel.com>
499
500 * elf64-x86-64.c (elf_x86_64_check_relocs): Set
501 check_relocs_failed on error.
502
503 2016-04-29 Nick Clifton <nickc@redhat.com>
504
505 PR 19938
506 * elf-bfd.h (struct elf_backend_data): Rename
507 elf_backend_set_special_section_info_and_link to
508 elf_backend_copy_special_section_fields.
509 * elfxx-target.h: Likewise.
510 * elf.c (section_match): Ignore the SHF_INFO_LINK flag when
511 comparing section flags.
512 (copy_special_section_fields): New function.
513 (_bfd_elf_copy_private_bfd_data): Copy the EI_ABIVERSION field.
514 Perform two scans over special sections. The first one looks for
515 a direct mapping between the output section and an input section.
516 The second scan looks for a possible match based upon section
517 characteristics.
518 * elf32-arm.c (elf32_arm_copy_special_section_fields): New
519 function. Handle setting the sh_link field of SHT_ARM_EXIDX
520 sections.
521 * elf32-i386.c (elf32_i386_set_special_info_link): Rename to
522 elf32_i386_copy_solaris_special_section_fields.
523 * elf32-sparc.c (elf32_sparc_set_special_section_info_link):
524 Rename to elf32_sparc_copy_solaris_special_section_fields.
525 * elf64-x86-64.c (elf64_x86_64_set_special_info_link): Rename to
526 elf64_x86_64_copy_solaris_special_section_fields.
527
528 2016-04-28 Nick Clifton <nickc@redhat.com>
529
530 * po/zh_CN.po: Updated Chinese (simplified) translation.
531
532 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
533
534 PR ld/20006
535 * elf64-x86-64.c (elf_x86_64_convert_load): Skip debug sections
536 when estimating distances between output sections.
537
538 2016-04-27 Alan Modra <amodra@gmail.com>
539
540 * elflink.c (_bfd_elf_is_start_stop): New function.
541 (_bfd_elf_gc_mark_rsec): Use it.
542 * elf-bfd.h (_bfd_elf_is_start_stop): Declare.
543
544 2016-04-26 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
545
546 * elf32-rx.c (rx_set_section_contents): Avoid arithmetic on void *.
547 * mmo.c (mmo_get_section_contents): Likewise.
548 (mmo_set_section_contents): Likewise.
549
550 2016-04-26 H.J. Lu <hongjiu.lu@intel.com>
551
552 * elf-bfd.h (elf_link_hash_table): Update comments for
553 dynsymcount.
554 * elflink.c (_bfd_elf_link_renumber_dynsyms): Always count for
555 the unused NULL entry at the head of dynamic symbol table.
556 (bfd_elf_size_dynsym_hash_dynstr): Remove dynsymcount != 0
557 checks.
558
559 2016-04-21 H.J. Lu <hongjiu.lu@intel.com>
560
561 * elflink.c (_bfd_elf_link_create_dynstrtab): Exclude linker
562 created file from dynobj.
563
564 2016-04-21 H.J. Lu <hongjiu.lu@intel.com>
565
566 * elflink.c (_bfd_elf_link_create_dynstrtab): Set dynobj to a
567 normal input file if possible.
568
569 2016-04-21 Nick Clifton <nickc@redhat.com>
570
571 * aout-adobe.c: Use _bfd_generic_link_check_relocs.
572 * aout-target.h: Likewise.
573 * aout-tic30.c: Likewise.
574 * binary.c: Likewise.
575 * bout.c: Likewise.
576 * coff-alpha.c: Likewise.
577 * coff-rs6000.c: Likewise.
578 * coff64-rs6000.c: Likewise.
579 * coffcode.h: Likewise.
580 * i386msdos.c: Likewise.
581 * i386os9k.c: Likewise.
582 * ieee.c: Likewise.
583 * ihex.c: Likewise.
584 * libbfd-in.h: Likewise.
585 * libecoff.h: Likewise.
586 * mach-o-target.c: Likewise.
587 * mmo.c: Likewise.
588 * nlm-target.h: Likewise.
589 * oasys.c: Likewise.
590 * pef.c: Likewise.
591 * plugin.c: Likewise.
592 * ppcboot.c: Likewise.
593 * som.c: Likewise.
594 * srec.c: Likewise.
595 * tekhex.c: Likewise.
596 * versados.c: Likewise.
597 * vms-alpha.c: Likewise.
598 * xsym.c: Likewise.
599 * elfxx-target.h: Use _bfd_elf_link_check_relocs.
600 * linker.c (bfd_link_check_relocs): New function.
601 (_bfd_generic_link_check_relocs): New function.
602 * targets.c (BFD_JUMP_TABLE_LINK): Add initialization of
603 _bfd_link_check_relocs field.
604 (struct bfd_target)L Add _bfd_link_check_relocs field.
605 * bfd-in2.h: Regenerate.
606 * libbfd.h: Regenerate.
607
608 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
609
610 * elf32-i386.c (elf_i386_gc_sweep_hook): Removed.
611 (elf_backend_gc_sweep_hook): Likewise.
612 * elf64-x86-64.c (elf_x86_64_gc_sweep_hook): Likewise.
613 (elf_backend_gc_sweep_hook): Likewise.
614
615 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
616
617 * elflink.c (_bfd_elf_link_check_relocs): Don't check relocations
618 in excluded sections
619
620 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
621
622 PR ld/19969
623 * elf64-x86-64.c (check_relocs_failed): New.
624 (elf_x86_64_need_pic): Moved before elf_x86_64_check_relocs.
625 Support relocation agaist local symbol. Set check_relocs_failed.
626 (elf_x86_64_check_relocs): Use elf_x86_64_need_pic. Check
627 R_X86_64_32 relocation overflow.
628 (elf_x86_64_relocate_section): Skip if check_relocs failed.
629 Update one elf_x86_64_need_pic and remove one elf_x86_64_need_pic.
630
631 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
632
633 * elf32-i386.c (elf_i386_check_relocs): Call
634 _bfd_elf_create_ifunc_sections only for STT_GNU_IFUNC symbol.
635 * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
636
637 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
638
639 * elf-bfd.h (_bfd_elf_link_check_relocs): New.
640 * elflink.c (_bfd_elf_link_check_relocs): New function.
641 (elf_link_add_object_symbols): Call _bfd_elf_link_check_relocs
642 if check_relocs_after_open_input is FALSE.
643
644 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
645
646 * cache.c: Update old style function definitions.
647 * elf32-m68k.c: Likewise.
648 * elf64-mmix.c: Likewise.
649 * stab-syms.c: Likewise.
650
651 2016-04-20 Trevor Saunders <tbsaunde+binutils@tbsaunde.org>
652
653 * elf32-arm.c (put_thumb2_insn): Change argument type to bfd_byte *.
654
655 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
656
657 * Makefile.in: Regenerated with automake 1.11.6.
658 * aclocal.m4: Likewise.
659 * doc/Makefile.in: Likewise.
660
661 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
662
663 * reloc.c: Add BFD_RELOC_ARC_NPS_CMEM16 entry.
664 * bfd-in2.h: Regenerate.
665 * libbfd.h: Regenerate.
666 * elf32-arc.c: Add 'opcode/arc.h' include.
667 (struct arc_relocation_data): Add symbol_name.
668 (arc_special_overflow_checks): New function.
669 (arc_do_relocation): Use arc_special_overflow_checks, reindent as
670 required, add an extra comment.
671 (elf_arc_relocate_section): Setup symbol_name in reloc_data.
672
673 2016-04-14 Andrew Burgess <andrew.burgess@embecosm.com>
674
675 * elf32-arc.c (tls_got_entries): Add 'TLS_GOT_' prefix to all
676 entries.
677 (elf_arc_relocate_section): Update enum uses.
678 (elf_arc_check_relocs): Likewise.
679 (elf_arc_finish_dynamic_symbol): Likewise.
680
681 2016-04-14 H.J. Lu <hongjiu.lu@intel.com>
682
683 * elf.c (_bfd_elf_copy_private_bfd_data): Replace "link" with
684 "sh_link".
685
686 2016-04-14 Nick Clifton <nickc@redhat.com>
687
688 PR target/19938
689 * elf-bbfd.h (struct elf_backend_data): New field:
690 elf_strtab_flags.
691 New field: elf_backend_set_special_section_info_and_link
692 * elfxx-target.h (elf_backend_strtab_flags): Define if not already
693 defined.
694 (elf_backend_set_special_section_info_and_link): Define if not
695 already defined.
696 (elfNN_bed): Use elf_backend_set_special_section_info_and_link and
697 elf_backend_strtab_flags macros to initialise fields in structure.
698 * elf.c (_bfd_elf_make_section_from_shdr): Check for SHF_STRINGS
699 being set even if SHF_MERGE is not set.
700 (elf_fake_sections): Likewise.
701 (section_match): New function. Matches two ELF sections based
702 upon fixed characteristics.
703 (find_link): New function. Locates a section in a BFD that
704 matches a section in a different BFD.
705 (_bfd_elf_copy_private_bfd_data): Copy the sh_info and sh_link
706 fields of reserved sections.
707 (bfd_elf_compute_section_file_positions): Set the flags for the
708 .shstrtab section based upon the elf_strtab_flags field in the
709 elf_backend_data structure.
710 (swap_out_syms): Likewise for the .strtab section.
711 * elflink.c (bfd_elf_final_link): Set the flags for the
712 .strtab section based upon the elf_strtab_flags field in the
713 elf_backend_data structure.
714 * elf32-i386.c (elf32_i386_set_special_info_link): New function.
715 (elf_backend_strtab_flags): Set to SHF_STRINGS for Solaris
716 targets.
717 (elf_backend_set_special_section_info_and_link): Define for
718 Solaris targets.
719 * elf32-sparc.c: Likewise.
720 * elf64-x86-64.c: Likewise.
721
722 2016-04-11 H.J. Lu <hongjiu.lu@intel.com>
723
724 PR ld/19939
725 * elf-bfd.h (_bfd_elf_allocate_ifunc_dyn_relocs): Add a pointer
726 to bfd_boolean.
727 * elf-ifunc.c (_bfd_elf_allocate_ifunc_dyn_relocs): Updated.
728 Set *readonly_dynrelocs_against_ifunc_p to TRUE if dynamic reloc
729 applies to read-only section.
730 * elf32-i386.c (elf_i386_link_hash_table): Add
731 readonly_dynrelocs_against_ifunc.
732 (elf_i386_allocate_dynrelocs): Updated.
733 (elf_i386_size_dynamic_sections): Issue an error for read-only
734 segment with dynamic IFUNC relocations only if
735 readonly_dynrelocs_against_ifunc is TRUE.
736 * elf64-x86-64.c (elf_x86_64_link_hash_table): Add
737 readonly_dynrelocs_against_ifunc.
738 (elf_x86_64_allocate_dynrelocs): Updated.
739 (elf_x86_64_size_dynamic_sections): Issue an error for read-only
740 segment with dynamic IFUNC relocations only if
741 readonly_dynrelocs_against_ifunc is TRUE.
742 * elfnn-aarch64.c (elfNN_aarch64_allocate_ifunc_dynrelocs):
743 Updated.
744
745 2016-04-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
746
747 * elf32-arm.c (elf32_arm_size_stubs): Move error_ret_free_local to be
748 a fall through from error_ret_free_internal. Free local_syms in
749 error_ret_free_local if allocated from bfd_elf_get_elf_syms ().
750
751 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
752
753 * elf32-arc.c (plt_do_relocs_for_symbol): Changed.
754 (relocate_plt_for_entry): Likewise.
755
756 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
757
758 * elf32-arc.c (elf_arc_check_relocs): Changed
759
760 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
761
762 * elf32-arc.c (name_for_global_symbol): Changed assert.
763 (get_replace_function): Created.:
764 (struct arc_relocation_data): Changed to signed types.
765 (defines S, L, P, PDATA): Casted to signed type.
766 (defines SECTSTART, _SDA_BASE_, TLS_REL): Likewise.
767 (PRINT_DEBUG_RELOC_INFO_BEFORE): Changed.
768 (arc_do_relocation): Changed.
769
770 2016-04-05 Cupertino Miranda <cmiranda@synopsys.com>
771
772 * elf32-arc.c (name_for_global_symbol): Added assert to check for
773 symbol index.
774 (elf_arc_relocate_section): Added and changed asserts, validating
775 the synamic symbol index.
776 (elf_arc_finish_dynamic_symbol): Do not fill the dynamic
777 relocation if symbol has dynindx set to -1.
778
779 2016-04-05 Maciej W. Rozycki <macro@imgtec.com>
780
781 * elflink.c (elf_link_add_object_symbols): Always turn hidden
782 and internal symbols which have a dynamic index into local
783 ones.
784
785 2016-04-04 Nick Clifton <nickc@redhat.com>
786
787 PR 19872
788 * dwarf2.c (parse_comp_unit): Skip warning about unrecognised
789 version number if the version is zero.
790
791 2016-04-01 Alan Modra <amodra@gmail.com>
792
793 PR 19886
794 * elflink.c (on_needed_list): Recursively check needed status.
795 (elf_link_add_object_symbols): Adjust.
796
797 2016-03-30 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
798
799 * elf32-avr.c (avr_elf32_load_records_from_section): Free
800 internal_relocs only if they aren't cached.
801
802 2016-03-29 Nick Clifton <nickc@redhat.com>
803
804 PR 17334
805 * elf32-bfin.c (elf32_bfinfdpic_finish_dynamic_sections): Relax
806 assertion on the size of the got section to allow it to be bigger
807 than the number of relocs.
808
809 2016-03-29 Toni Spets <toni.spets@iki.fi>
810
811 PR 19878
812 * coffcode.h (coff_write_object_contents): Revert accidental
813 2014-11-10 change.
814
815 2016-03-22 Alan Modra <amodra@gmail.com>
816
817 PR 19850
818 * dwarf2.c (read_attribute_value): Skip info_ptr check for
819 DW_FORM_flag_present.
820
821 2016-03-22 Nick Clifton <nickc@redhat.com>
822
823 * cpu-v850_rh850.c (arch_info_struct): Restore v850-rh850 as an
824 architecture name for backwards compatibility.
825
826 * peXXigen.c (_bfd_XXi_write_codeview_record): Fix possible
827 unbounded stack use.
828
829 * warning.m4 (GCC_WARN_CFLAGS): Only add -Wstack-usage if using a
830 sufficiently recent version of GCC.
831 * configure: Regenerate.
832
833 2016-03-22 Alan Modra <amodra@gmail.com>
834
835 PR 19851
836 * plugin.c (try_load_plugin): Avoid -Wstack-usage warning.
837
838 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
839
840 * archures.c (bfd_mach_arc_nps400): Define.
841 * bfd-in2.h: Regenerate.
842 * cpu-arc.c (arch_info_struct): New entry for nps400, renumber
843 some existing entries to make space.
844 * elf32-arc.c (arc_elf_object_p): Add nps400 case.
845 (arc_elf_final_write_processing): Likewise.
846
847 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
848
849 * elf32-arc.c (arc_elf_print_private_bfd_data): Remove use of
850 EF_ARC_CPU_GENERIC.
851 (arc_elf_final_write_processing): Don't bother setting cpu field
852 in e_flags, this will have been set elsewhere.
853
854 2016-03-21 Andrew Burgess <andrew.burgess@embecosm.com>
855
856 * elf32-arc.c (arc_elf_final_write_processing): Switch to using
857 EF_ARC_MACH_MSK.
858
859 2016-03-21 Nick Clifton <nickc@redhat.com>
860
861 * warning.m4 (GCC_WARN_CFLAGS): Add -Wstack-usage=262144
862 * configure: Regenerate.
863 * elf32-m68hc1x.c (elf32_m68hc11_relocate_section): Replace use of
864 alloca with call to xmalloc.
865 * elf32-nds32.c: Likewise.
866 * elf64-hppa.c: Likewise.
867 * elfxx-mips.c: Likewise.
868 * pef.c: Likewise.
869 * pei-x86_64.c: Likewise.
870 * som.c: Likewise.
871 * xsym.c: Likewise.
872
873 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
874
875 PR ld/19827
876 * elf32-i386.c (elf_i386_check_relocs): Bind defined symbol
877 locally in PIE.
878 (elf_i386_relocate_section): Likewise.
879 * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
880 (elf_x86_64_relocate_section): Likewise.
881
882 2016-03-15 H.J. Lu <hongjiu.lu@intel.com>
883
884 PR ld/19807
885 * elf64-x86-64.c (elf_x86_64_relocate_section): Check
886 no_reloc_overflow_check to diable R_X86_64_32/R_X86_64_32S
887 relocation overflow check.
888
889 2016-03-14 H.J. Lu <hongjiu.lu@intel.com>
890
891 * bfd-in2.h: Regenerated.
892
893 2016-03-11 Dan Gissel <dgisselq@ieee.org>
894
895 PR 19713
896 * elf.c (_bfd_elf_section_offset): Ensure that the returned offset
897 uses bytes not octets.
898 * elflink.c (resolve_section): Likewise.
899 Add a bfd parameter.
900 (eval_section): Pass the input_bfd to resolve_section.
901 (bfd_elf_perform_complex_relocation): Convert byte offset to
902 octets before read and writing values.
903 (elf_link_input_bfd): Add byte to octet conversions.
904 (elf_reloc_link_order): Likewise.
905 (elf_fixup_link_order): Likewise.
906 (bfd_elf_final_link): Likewise.
907 * reloc.c (_bfd_final_link_relocate): Likewise.
908 * syms.c (_bfd_stab_section_find_nearest_line): Likewise.
909
910 2016-03-10 Nick Clifton <nickc@redhat.com>
911
912 * config.bfd: Mark the i370 target as obsolete.
913
914 2016-03-09 Pedro Alves <palves@redhat.com>
915
916 * cpu-v850.c (N): Append ":old-gcc-abi" instead of " (using old
917 gcc ABI)" to printable name.
918 * cpu-v850_rh850.c (bfd_v850_rh850_arch): Use "v850:rh850" instead
919 of "v850-rh850" as printable name.
920
921 2016-03-09 Leon Winter <winter-gcc@bfw-online.de>
922
923 PR ld/19623
924 * cofflink.c (_bfd_coff_generic_relocate_section): Do not apply
925 relocations against absolute symbols.
926
927 2016-03-09 Alan Modra <amodra@gmail.com>
928
929 PR binutils/19775
930 * coff-alpha.c (alpha_ecoff_openr_next_archived_file): Allow zero
931 length elements in the archive.
932
933 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
934
935 PR ld/19789
936 * elflink.c (elf_link_add_object_symbols): Create dynamic sections
937 for -E/--dynamic-list only when not relocatable.
938
939 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
940
941 PR ld/19784
942 * elf32-i386.c (elf_i386_check_relocs): Increment PLT reference
943 count for locally defined local IFUNC symbols in shared object.
944 * elf64-x86-64.c (elf_x86_64_check_relocs): Likewise.
945
946 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
947
948 PR ld/19579
949 * elflink.c (_bfd_elf_merge_symbol): Group common symbol checking
950 together.
951
952 2016-03-08 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
953 Andrew Burgess <andrew.burgess@embecosm.com>
954
955 * elf32-arc.c (arc_bfd_get_32): Becomes an alias for bfd_get_32.
956 (arc_bfd_put_32): Becomes an alias for bfd_put_32.
957 (arc_elf_howto_init): Added assert to validate relocations.
958 (get_middle_endian_relocation): Delete.
959 (middle_endian_convert): New function.
960 (ME): Redefine, now does nothing.
961 (IS_ME): New define.
962 (arc_do_relocation): Extend the attached 'ARC_RELOC_HOWTO'
963 definition to call middle_endian_convert. Add a new local
964 variable and make use of this throughout. Added call to
965 arc_bfd_get_8 and arc_bfd_put_8 for 8 bit relocations.
966
967 2016-03-07 Nick Clifton <nickc@redhat.com>
968
969 PR binutils/19775
970 * archive.c (bfd_generic_openr_next_archived_file): Allow zero
971 length elements in the archive.
972
973 2016-03-07 Jiong Wang <jiong.wang@arm.com>
974
975 * elfnn-aarch64.c (elfNN_aarch64_check_relocs): Always create .got
976 section if the symbol "_GLOBAL_OFFSET_TABLE_" is referenced.
977
978 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
979
980 PR ld/19579
981 * elflink.c (_bfd_elf_merge_symbol): Treat common symbol in
982 executable as definition if the new definition comes from a
983 shared library.
984
985 2016-03-02 Alan Modra <amodra@gmail.com>
986
987 * Makefile.in: Regenerate.
988 * po/SRC-POTFILES.in: Regenerate.
989
990 2016-02-29 Cupertino Miranda <cmiranda@synopsys.com>
991
992 * elf32-arc.c (elf_arc_relocate_section): Added rules to fix the
993 relocation addend when sections get merged.
994
995 2016-02-29 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
996
997 * elf32-arc.c (arc_elf_final_write_processing): Add condition to
998 the flag change.
999 (elf_arc_relocate_section): Fixes and conditions to support PIE.
1000 Assert for code sections dynamic relocs.
1001
1002 2016-02-26 Renlin Li <renlin.li@arm.com>
1003
1004 * elfnn-aarch64.c (elfNN_aarch64_howto_table): Fix signed overflow
1005 check for MOVW_SABS_G0, MOVW_SABS_G1, MOVW_SABS_G2.
1006
1007 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1008
1009 PR ld/19609
1010 * elf32-i386.c (elf_i386_convert_load): Convert to R_386_32 for
1011 load with locally bound symbols if PIC is false or there is no
1012 base register. Optimize branch to 0 if PIC is false.
1013 (elf_i386_relocate_section): Don't generate dynamic relocations
1014 against undefined weak symbols if PIC is false.
1015 * elf64-x86-64.c (elf_x86_64_convert_load): Disable optimization
1016 if we can't estimate relocation overflow with --no-relax.
1017 Convert to R_X86_64_32S/R_X86_64_32 for load with locally bound
1018 symbols if PIC is false. Optimize branch to 0 if PIC is false.
1019 (elf_x86_64_relocate_section): Don't generate dynamic relocations
1020 against undefined weak symbols if PIC is false.
1021
1022 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1023
1024 PR ld/19645
1025 * bfd.c (bfd): Change flags to 20 bits.
1026 (BFD_CONVERT_ELF_COMMON): New.
1027 (BFD_USE_ELF_STT_COMMON): Likewise.
1028 (BFD_FLAGS_SAVED): Add BFD_CONVERT_ELF_COMMON and
1029 BFD_USE_ELF_STT_COMMON.
1030 (BFD_FLAGS_FOR_BFD_USE_MASK): Likewise.
1031 * configure.ac: Remove --enable-elf-stt-common.
1032 * elf.c (swap_out_syms): Choose STT_COMMON or STT_OBJECT for
1033 common symbol depending on BFD_CONVERT_ELF_COMMON and
1034 BFD_USE_ELF_STT_COMMON.
1035 * elfcode.h (elf_slurp_symbol_table): Set BSF_ELF_COMMON for
1036 STT_COMMON.
1037 * elflink.c (bfd_elf_link_mark_dynamic_symbol): Also check
1038 STT_COMMON.
1039 (elf_link_convert_common_type): New function.
1040 (elf_link_output_extsym): Choose STT_COMMON or STT_OBJECT for
1041 common symbol depending on BFD_CONVERT_ELF_COMMON and
1042 BFD_USE_ELF_STT_COMMON. Set sym.st_info after sym.st_shndx.
1043 * elfxx-target.h (TARGET_BIG_SYM): Add BFD_CONVERT_ELF_COMMON
1044 and BFD_USE_ELF_STT_COMMON to object_flags.
1045 (TARGET_LITTLE_SYM): Likewise.
1046 * syms.c (BSF_KEEP_G): Renamed to ...
1047 (BSF_ELF_COMMON): This.
1048 * bfd-in2.h: Regenerated.
1049 * config.in: Likewise.
1050 * configure: Likewise.
1051
1052 2016-02-26 H.J. Lu <hongjiu.lu@intel.com>
1053
1054 PR ld/19636
1055 PR ld/19704
1056 PR ld/19719
1057 * elf32-i386.c (UNDEFINED_WEAK_RESOLVED_TO_ZERO): New.
1058 (elf_i386_link_hash_entry): Add has_got_reloc and
1059 has_non_got_reloc.
1060 (elf_i386_link_hash_table): Add interp.
1061 (elf_i386_link_hash_newfunc): Initialize has_got_reloc and
1062 has_non_got_reloc.
1063 (elf_i386_copy_indirect_symbol): Copy has_got_reloc and
1064 has_non_got_reloc.
1065 (elf_i386_check_relocs): Set has_got_reloc and has_non_got_reloc.
1066 (elf_i386_fixup_symbol): New function.
1067 (elf_i386_pie_finish_undefweak_symbol): Likewise.
1068 (elf_i386_allocate_dynrelocs): Don't allocate space for dynamic
1069 relocations and discard relocations against resolved undefined
1070 weak symbols in executable. Don't make resolved undefined weak
1071 symbols in executable dynamic. Keep dynamic non-GOT/non-PLT
1072 relocation against undefined weak symbols in PIE.
1073 (elf_i386_size_dynamic_sections): Set interp to .interp section.
1074 (elf_i386_relocate_section): Don't generate dynamic relocations
1075 against resolved undefined weak symbols in PIE, except for
1076 R_386_PC32.
1077 (elf_i386_finish_dynamic_symbol): Keep PLT/GOT entries without
1078 dynamic PLT/GOT relocations for resolved undefined weak symbols.
1079 Don't generate dynamic relocation against resolved undefined weak
1080 symbol in executable.
1081 (elf_i386_finish_dynamic_sections): Call
1082 elf_i386_pie_finish_undefweak_symbol on all symbols in PIE.
1083 (elf_backend_fixup_symbol): New.
1084 * elf64-x86-64.c (UNDEFINED_WEAK_RESOLVED_TO_ZERO): New.
1085 (elf_x86_64_link_hash_entry): Add has_got_reloc and
1086 has_non_got_reloc.
1087 (elf_x86_64_link_hash_table): Add interp.
1088 (elf_x86_64_link_hash_newfunc): Initialize has_got_reloc and
1089 has_non_got_reloc.
1090 (elf_x86_64_copy_indirect_symbol): Copy has_got_reloc and
1091 has_non_got_reloc.
1092 (elf_x86_64_check_relocs): Set has_got_reloc and
1093 has_non_got_reloc.
1094 (elf_x86_64_fixup_symbol): New function.
1095 (elf_x86_64_pie_finish_undefweak_symbol): Likewise.
1096 (elf_x86_64_allocate_dynrelocs): Don't allocate space for dynamic
1097 relocations and discard relocations against resolved undefined
1098 weak symbols in executable. Don't make resolved undefined weak
1099 symbols in executable dynamic.
1100 (elf_x86_64_size_dynamic_sections): Set interp to .interp section.
1101 (elf_x86_64_relocate_section): Check relocation overflow for
1102 dynamic relocations against unresolved weak undefined symbols.
1103 Don't generate dynamic relocations against resolved weak
1104 undefined symbols in PIE.
1105 (elf_x86_64_finish_dynamic_symbol): Keep PLT/GOT entries without
1106 dynamic PLT/GOT relocations for resolved undefined weak symbols.
1107 Don't generate dynamic relocation against resolved undefined weak
1108 symbol in executable.
1109 (elf_x86_64_finish_dynamic_sections): Call
1110 elf_x86_64_pie_finish_undefweak_symbol on all symbols in PIE.
1111 (elf_backend_fixup_symbol): New.
1112
1113 2016-02-26 Alan Modra <amodra@gmail.com>
1114
1115 * elf64-ppc.c (create_linkage_sections): Create sfpr when
1116 save_restore_funcs, rest of sections when not relocatable.
1117 (ppc64_elf_init_stub_bfd): Always call create_linkage_sections.
1118 (sfpr_define): Define all symbols on emitted code.
1119 (ppc64_elf_func_desc_adjust): Adjust for sfpr now being created
1120 when relocatable. Move sfpr_define loop earlier.
1121
1122 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
1123
1124 * elf64-x86-64.c (elf_x86_64_need_pic): New function.
1125 (elf_x86_64_relocate_section): Use it. Replace
1126 x86_64_elf_howto_table[r_type] with howto.
1127
1128 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
1129
1130 PR ld/19698
1131 * elflink.c (bfd_elf_record_link_assignment): Set versioned if
1132 symbol version is unknown.
1133
1134 2016-02-24 H.J. Lu <hongjiu.lu@intel.com>
1135
1136 * elf32-i386.c (elf_i386_allocate_dynrelocs): Set plt_got.offset
1137 to (bfd_vma) -1 when setting needs_plt to 0.
1138 * elf64-x86-64.c (elf_x86_64_allocate_dynrelocs): Likewise.
1139
1140 2016-02-23 H.J. Lu <hongjiu.lu@intel.com>
1141
1142 * elflink.c (bfd_elf_record_link_assignment): Check for shared
1143 library, instead of PIC, and don't check PDE when making linker
1144 assigned symbol dynamic.
1145
1146 2016-02-23 Faraz Shahbazker <faraz.shahbazker@imgtec.com>
1147
1148 * bfd/elfxx-mips.c (_bfd_mips_post_process_headers): Increment
1149 ABIVERSION for non-executable stack.
1150
1151 2016-02-23 Rich Felker <bugdal@aerifal.cx>
1152
1153 PR target/19516
1154 * elf32-microblaze.c (microblaze_elf_finish_dynamic_symbol):
1155 Always produce a RELATIVE reloc for a local symbol.
1156
1157 2016-02-23 Hans-Peter Nilsson <hp@axis.com>
1158
1159 Fix test-case ld-elf/pr19617b
1160 * elf32-cris.c (elf_cris_discard_excess_program_dynamics): Don't
1161 discard unused non-function symbols when --dynamic-list-data.
1162
1163 2016-02-22 H.J. Lu <hongjiu.lu@intel.com>
1164
1165 * elflink.c (_bfd_elf_link_renumber_dynsyms): Always create the
1166 dynsym section, even if it is empty, with dynamic sections.
1167
1168 2016-02-22 H.J. Lu <hongjiu.lu@intel.com>
1169
1170 * syms.c: Remove BSF_COMMON from comments.
1171 * bfd-in2.h: Regenerated.
1172
1173 2016-02-22 Jiong Wang <jiong.wang@arm.com>
1174
1175 * elfnn-aarch64. (aarch64_type_of_stub): Remove redundation calcuation
1176 for destination. Remove useless function parameters.
1177 (elfNN_aarch64_size_stubs): Update parameters for aarch64_type_of_stub.
1178
1179 2016-02-19 Nick Clifton <nickc@redhat.com>
1180
1181 PR ld/19629
1182 * aoutx.h (aout_link_add_symbols): Check for out of range string
1183 table offsets.
1184
1185 PR ld/19628
1186 * reloc.c (bfd_generic_get_relocated_section_contents): Stop
1187 processing if we encounter a reloc without an associated symbol.
1188
1189 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
1190
1191 PR ld/19617
1192 * elflink.c (elf_link_add_object_symbols): Always create dynamic
1193 sections for -E/--dynamic-list.
1194
1195 2016-02-17 H.J. Lu <hongjiu.lu@intel.com>
1196
1197 * elf64-x86-64.c (elf_backend_omit_section_dynsym): New. Defined
1198 to bfd_true.
1199
1200 2016-02-16 Joseph Myers <joseph@codesourcery.com>
1201
1202 * plugin.c (plugin_vec): Set match priority to 255.
1203 * format.c (bfd_check_format_matches) [BFD_SUPPORTS_PLUGINS]: When
1204 matching against the plugin vector, take priority from there not
1205 from TEMP.
1206
1207 2016-02-15 Nick Clifton <nickc@redhat.com>
1208
1209 * elf-bfd.h (struct bfd_elf_special_section): Use unsigned values
1210 for length and type fields. Use a signed value for the
1211 suffix_length field.
1212
1213 2016-02-10 H.J. Lu <hongjiu.lu@intel.com>
1214
1215 PR ld/19601
1216 * elf32-i386.c (elf_i386_relocate_section): Mask off the least
1217 significant bit in GOT offset for R_386_GOT32X.
1218
1219 2016-02-10 Nick Clifton <nickc@redhat.com>
1220
1221 PR 19405
1222 * elf32-nios2.c (nios2_elf32_install_imm16): Allow for signed
1223 immediate values.
1224 * elf-eh-frame.c (_bfd_elf_discard_section_eh_frame): Limit the
1225 number of messages about FDE encoding preventing .eh_frame_hdr
1226 generation.
1227
1228 2016-02-09 Nick Clifton <nickc@redhat.com>
1229
1230 * oasys.c (oasys_archive_p): Fix indentation.
1231 * elf32-nds32.c (nds32_elf_relax_section): Use an unsigned
1232 constant for left shifting.
1233
1234 * elfnn-aarch64.c (elfNN_aarch64_relocate_section): Add a more
1235 helpful warning message to explain why certain AArch64 relocs
1236 might overflow.
1237
1238 2016-02-05 Simon Marchi <simon.marchi@ericsson.com>
1239
1240 * pe-mips.c (coff_mips_reloc): Fix formatting.
1241
1242 2016-02-05 Cupertino Miranda <Cupertino.Miranda@synopsys.com>
1243
1244 * cpu-arc.c: Change default archure from bfd_mach_arc_arcv2
1245 to bfd_mach_arc_arc600.
1246
1247 2016-02-04 Alan Modra <amodra@gmail.com>
1248
1249 * elf64-ppc.c (ppc64_elf_relocate_section): Adjust last patch
1250 for big-endian.
1251
1252 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
1253
1254 PR ld/19542
1255 * elf64-x86-64.c (elf_x86_64_convert_load): Store the estimated
1256 distances in the compressed_size field of the output section.
1257
1258 2016-02-02 Alan Modra <amodra@gmail.com>
1259
1260 * elf64-ppc.c (ppc64_elf_relocate_section): Further restrict
1261 ELFv2 entry optimization.
1262
1263 2016-02-02 H.J. Lu <hongjiu.lu@intel.com>
1264
1265 PR binutils/19547
1266 * elf.c (assign_section_numbers): Clear HAS_RELOC if there are
1267 no relocations in relocatable files.
1268
1269 2016-02-01 H.J. Lu <hongjiu.lu@intel.com>
1270
1271 PR ld/19553
1272 * elflink.c (elf_link_add_object_symbols): Don't add DT_NEEDED
1273 if a symbol from a library loaded via DT_NEEDED doesn't match
1274 the symbol referenced by regular object.
1275
1276 2016-02-01 Nathaniel Smith <njs@pobox.com>
1277
1278 * peicode.h (pe_ILF_build_a_bfd): Create an import symbol for both
1279 CODE and DATA.
1280
1281 2016-02-01 Alan Modra <amodra@gmail.com>
1282
1283 * elf64-x86-64.c (elf_x86_64_get_plt_sym_val): Don't abort on
1284 an out of range reloc_index.
1285 * elf32-i386.c (elf_i386_get_plt_sym_val): Likewise.
1286
1287 2016-02-01 Kamil Rytarowski <n54@gmx.com>
1288
1289 * Makefile.am (OPTIONAL_BACKENDS): Add netbsd-core.lo.
1290 (OPTIONAL_BACKENDS_CFILES): Add netbsd-core.c.
1291 * Makefile.in: Regenerated.
1292
1293 2016-02-01 Jan Kratochvil <jan.kratochvil@redhat.com>
1294
1295 * elf64-s390.c (elf_s390_reloc_name_lookup): Fix indentation.
1296
1297 2016-01-31 John David Anglin <danglin@gcc.gnu.org>
1298
1299 PR ld/19526
1300 * elf32-hppa.c (elf32_hppa_final_link): Don't sort non-regular output
1301 files.
1302 * elf64-hppa.c (elf32_hppa_final_link): Likewise. Remove retval.
1303
1304 2016-01-30 H.J. Lu <hongjiu.lu@intel.com>
1305
1306 PR ld/19539
1307 * elf32-i386.c (elf_i386_reloc_type_class): Check relocation
1308 against STT_GNU_IFUNC symbol only with dynamic symbols.
1309 * elf64-x86-64.c (elf_x86_64_reloc_type_class): Likewise.
1310
1311 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
1312
1313 PR binutils/19523
1314 * dwarf2.c (_bfd_dwarf2_slurp_debug_info): Set BFD_DECOMPRESS to
1315 decompress debug sections.
1316
1317 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
1318
1319 * elf32-arc.c (elf_arc_finish_dynamic_symbol): Rename `index' to
1320 `dynindx'.
1321
1322 2016-01-25 Nick Clifton <nickc@redhat.com>
1323
1324 PR target/19435
1325 * mach-o.c (bfd_mach_o_close_and_cleanup): Suppress code to free
1326 dsym filename buffer.
1327
1328 2016-01-24 Maciej W. Rozycki <macro@imgtec.com>
1329
1330 * elfxx-mips.c (BZ16_REG_FIELD): Simplify calculation.
1331
1332 2016-01-24 Maciej W. Rozycki <macro@imgtec.com>
1333
1334 * elfxx-mips.c (BZ16_REG): Correct calculation.
1335
1336 2016-01-21 Nick Clifton <nickc@redhat.com>
1337
1338 * elf32-arc.c (ADD_RELA): Fix compile time warning errors by
1339 changing the type of _loc to be bfd_byte *.
1340 (elf_arc_finish_dynamic_symbol): Likewise.
1341
1342 2016-01-21 Nick Clifton <nickc@redhat.com>
1343
1344 PR ld/19455
1345 * elf32-arm.c (elf32_arm_create_dynamic_sections): Set the ELF
1346 class of the linker stub bfd.
1347 (elf32_arm_check_relocs): Skip check for pic format after
1348 processing a vxWorks R_ARM_ABS12 reloc.
1349 * elflink.c (bfd_elf_final_link): Check for ELFCLASSNONE when
1350 reporting a class mismatch.
1351
1352 2016-01-21 Jiong Wang <jiong.wang@arm.com>
1353
1354 * elfnn-aarch64.c (aarch64_type_of_stub): Allow insert long branch
1355 veneer for sym_sec != input_sec.
1356 (elfNN_aarch64_size_stub): Support STT_SECTION symbol.
1357 (elfNN_aarch64_final_link_relocate): Take rela addend into account when
1358 calculation destination.
1359
1360 2016-01-21 Alan Modra <amodra@gmail.com>
1361
1362 * elf-linux-core.h (swap_linux_prpsinfo32_out): New function.
1363 (swap_linux_prpsinfo64_out): New function.
1364 (LINUX_PRPSINFO32_SWAP_FIELDS): Delete.
1365 (LINUX_PRPSINFO64_SWAP_FIELDS): Delete.
1366 * elf.c (elfcore_write_linux_prpsinfo32): Adjust. Don't memset.
1367 (elfcore_write_linux_prpsinfo64): Likewise.
1368 * elf32-ppc.c (swap_ppc_linux_prpsinfo32_out): New function.
1369 (PPC_LINUX_PRPSINFO32_SWAP_FIELDS): Delete.
1370 (elfcore_write_ppc_linux_prpsinfo32): Adjust. Don't memset.
1371
1372 2016-01-21 Alan Modra <amodra@gmail.com>
1373
1374 * elf-linux-core.h: Rename from elf-linux-psinfo.h.
1375 * elf.c: Adjust #include.
1376 * elf32-ppc.c: Don't #include elf-linux-psinfo.h
1377 * Makefile.am (SOURCE_HFILES): Update.
1378 * Makefile.in: Regenerate.
1379 * po/SRC-PORFILES.in: Regenerate.
1380
1381 2016-01-21 Alan Modra <amodra@gmail.com>
1382
1383 * configure.ac: Move corefile selection later in file. Move
1384 tdefaults code immediately after other target vector code.
1385 * configure: Regenerate.
1386
1387 2016-01-20 Mickael Guene <mickael.guene@st.com>
1388
1389 * elf32-arm.c (elf32_arm_special_sections): Remove catch of noread
1390 section using '.text.noread' pattern.
1391
1392 2016-01-19 John Baldwin <jhb@FreeBSD.org>
1393
1394 * elf.c (elfcore_grok_note): Recognize NT_FREEBSD_THRMISC notes.
1395
1396 2016-01-18 Miranda Cupertino <Cupertino.Miranda@synopsys.com>
1397 Zissulescu Claudiu <Claudiu.Zissulescu@synopsys.com>
1398
1399 * arc-plt.def: New file.
1400 * arc-plt.h: Likewise.
1401 * elf32-arc.c (elf_arc_abs_plt0_entry, elf_arc_abs_pltn_entry,
1402 elf_arcV2_abs_plt0_entry, elf_arcV2_abs_pltn_entry,
1403 elf_arc_pic_plt0_entry, elf_arc_pic_pltn_entry,
1404 elf_arcV2_pic_plt0_entry, elf_arcV2_pic_pltn_entry): Remove.
1405 (name_for_global_symbol): Added.
1406 (ADD_RELA): Helper to create dynamic relocs.
1407 (new_got_entry_to_list): Create a new got entry in linked list.
1408 (symbol_has_entry_of_type): Search for specific type of entry in
1409 list.
1410 (is_reloc_for_GOT): return FALSE for any TLS related relocs.
1411 (is_reloc_for_TLS, arc_elf_set_private_flags)
1412 (arc_elf_print_private_bfd_data, arc_elf_copy_private_bfd_data)
1413 (arc_elf_merge_private_bfd_data): New functions.
1414 (debug_arc_reloc): Cleaned debug info printing.
1415 (PDATA reloc): Changed not to perform address alignment.
1416 (reverse_me): Added. Fix for ARC_32 relocs.
1417 (arc_do_relocation): Return bfd_reloc_of when no relocation should
1418 occur.
1419 (arc_get_local_got_ents): Renamed from arc_get_local_got_offsets.
1420 Changed function to access an array of list of GOT entries instead
1421 of just an array of offsets.
1422 (elf_arc_relocate_section): Added support for PIC and TLS related relocations.
1423 (elf_arc_check_relocs): Likewise.
1424 (elf_arc_adjust_dynamic_symbol, elf_arc_finish_dynamic_symbol,
1425 (elf_arc_finish_dynamic_sections): Likewise
1426 (arc_create_dynamic_sections): Modified conditions to create
1427 dynamic sections.
1428 (ADD_SYMBOL_REF_SEC_AND_RELOC): New macro.
1429 (plt_do_relocs_for_symbol, relocate_plt_for_symbol)
1430 (relocate_plt_for_entry): Changed to support new way to define PLT
1431 related code.
1432 (add_symbol_to_plt): Likewise.
1433 (arc_elf_link_hash_table_create): New function.
1434
1435 2016-01-18 Nick Clifton <nickc@redhat.com>
1436
1437 PR ld/19440
1438 * coff-rs6000.c (_bfd_xcoff_swap_sym_in): Sign extend external
1439 section number into internal section number.
1440 * coff64-rs6000.c (_bfd_xcoff64_swap_sym_in): Likewise.
1441 * coffswap.h (coff_swap_sym_in): Likewise.
1442 * peXXigen.c (_bfd_XXi_swap_sym_in): Likewise.
1443 * coffcode.h (_coff_bigobj_swap_sym_in): Make sure that internal
1444 section number field is big enough to hold the external value.
1445
1446 2016-01-17 Alan Modra <amodra@gmail.com>
1447
1448 * configure: Regenerate.
1449
1450 2016-01-12 Yury Usishchev <y.usishchev@samsung.com>
1451
1452 * elf32-arm.c (elf32_arm_fix_exidx_coverage): Insert cantunwind
1453 when address in first unwind entry does not match start of
1454 section.
1455
1456 2016-01-08 Richard Sandiford <richard.sandiford@arm.com>
1457 Jiong Wang <jiong.wang@arm.com>
1458
1459 PR ld/19368
1460 * elf32-arm.c (elf32_arm_reloc_type_class): Map R_ARM_IRELATIVE to
1461 reloc_class_ifunc.
1462
1463 2016-01-06 Andrew Burgess <andrew.burgess@embecosm.com>
1464
1465 * elf32-arc.c (reloc_type_to_name): Change ARC_RELOC_HOWTO to
1466 place 'R_' before the reloc name returned.
1467 (elf_arc_howto_table): Change ARC_RELOC_HOWTO to place 'R_' before
1468 the relocation string.
1469
1470 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1471
1472 * elfxx-mips.c (mips_elf_merge_obj_abiflags): New function,
1473 factored out from...
1474 (_bfd_mips_elf_merge_private_bfd_data): ... here.
1475
1476 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1477
1478 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Move
1479 attribute check after ELF file header flag check.
1480
1481 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1482
1483 * elfxx-mips.c (mips_elf_merge_obj_attributes): Propagate the
1484 return status from `_bfd_elf_merge_object_attributes'.
1485
1486 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1487
1488 * elfxx-mips.c (mips_elf_merge_obj_e_flags): New function,
1489 factored out from...
1490 (_bfd_mips_elf_merge_private_bfd_data): ... here.
1491
1492 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1493
1494 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Fold the
1495 handling of input MIPS ABI flags together.
1496
1497 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1498
1499 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Suppress
1500 attribute checks for null input.
1501
1502 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1503
1504 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Use local
1505 pointers to target data.
1506
1507 2016-01-04 Maciej W. Rozycki <macro@imgtec.com>
1508
1509 * elfxx-mips.c (_bfd_mips_elf_merge_private_bfd_data): Correct
1510 an FP ABI warning.
1511
1512 2016-01-01 Alan Modra <amodra@gmail.com>
1513
1514 Update year range in copyright notice of all files.
1515
1516 For older changes see ChangeLog-2015 and doc/ChangeLog-0415
1517 \f
1518 Copyright (C) 2016 Free Software Foundation, Inc.
1519
1520 Copying and distribution of this file, with or without modification,
1521 are permitted in any medium without royalty provided the copyright
1522 notice and this notice are preserved.
1523
1524 Local Variables:
1525 mode: change-log
1526 left-margin: 8
1527 fill-column: 74
1528 version-control: never
1529 End:
This page took 0.080209 seconds and 5 git commands to generate.