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