]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - bfd/ChangeLog
[binutils, ARM, 8/16] BFL infrastructure with new global reloc R_ARM_THM_BF18
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
1 2019-04-15 Sudakshina Das <sudi.das@arm.com>
2
3 * reloc.c (BFD_RELOC_ARM_THUMB_BF19): New
4 * libbfd.h: Regenerated.
5 * bfd-in2.h: Regenerated.
6 * bfd-elf32-arm.c (elf32_arm_howto_table_1): New entry for R_ARM_THM_BF18.
7 (elf32_arm_reloc_map elf32_arm_reloc_map): Map BFD_RELOC_ARM_THUMB_BF19
8 and R_ARM_THM_BF18 together.
9 (elf32_arm_final_link_relocate): New switch case for R_ARM_THM_BF19.
10
11 2019-04-15 Sudakshina Das <sudi.das@arm.com>
12
13 * reloc.c (BFD_RELOC_ARM_THUMB_BF17): New enum.
14 * bfd-in2.h: Regenerated.
15 * libbfd.h: Regenerated.
16 * bfd-elf32-arm.c (elf32_arm_howto_table_1): New entry for R_ARM_THM_BF16.
17 (elf32_arm_reloc_map elf32_arm_reloc_map): Map BFD_RELOC_ARM_THUMB_BF17
18 and R_ARM_THM_BF16 together.
19 (get_value_helper): New reloc helper.
20 (elf32_arm_final_link_relocate): New switch case for R_ARM_THM_BF16.
21
22 2019-04-15 Sudakshina Das <sudi.das@arm.com>
23
24 * reloc.c (BFD_RELOC_THUMB_PCREL_BRANCH5): New enum.
25 * bfd-in2.h: Regenerate.
26 * libbfd.h: Regenerate.
27
28 2019-04-15 Thomas Preud'homme <thomas.preudhomme@arm.com>
29
30 * archures.c (bfd_mach_arm_8_1M_MAIN): Define.
31 * bfd-in2.h: Regenerate.
32 * cpu-arm.c (arch_info_struct): Add entry for Armv8.1-M Mainline.
33 * elf32-arm.c (using_thumb_only): Return true for Armv8.1-M Mainline
34 and update assert.
35 (using_thumb2): Likewise.
36 (using_thumb2_bl): Update assert.
37 (arch_has_arm_nop): Likewise.
38 (bfd_arm_get_mach_from_attributes): Add case for Armv8.1-M Mainline.
39 (tag_cpu_arch_combine): Add logic for Armv8.1-M Mainline merging.
40
41 2019-04-11 H.J. Lu <hongjiu.lu@intel.com>
42
43 * elf-linker-x86.h (elf_x86_cet_report): New.
44 (elf_linker_x86_params): Add cet_report.
45 * elfxx-x86.c (_bfd_x86_elf_link_setup_gnu_properties): Report
46 missing IBT and SHSTK properties if needed.
47
48 2019-04-11 H.J. Lu <hongjiu.lu@intel.com>
49
50 PR ld/24436
51 * elf-m10300.c (mn10300_elf_check_relocs): Remove BFD_ASSERT of
52 "h != NULL". Don't check "h != NULL" before calling.
53 bfd_elf_gc_record_vtentry.
54 * elf32-arm.c (elf32_arm_check_relocs): Likewise.
55 * elf32-bfin.c (bfin_check_relocs): Likewise.
56 * elf32-cris.c (cris_elf_check_relocs): Likewise.
57 * elf32-csky.c (csky_elf_check_relocs): Likewise.
58 * elf32-d10v.c (elf32_d10v_check_relocs): Likewise.
59 * elf32-dlx.c (elf32_dlx_check_relocs): Likewise.
60 * elf32-fr30.c (fr30_elf_check_relocs): Likewise.
61 * elf32-frv.c (elf32_frv_check_relocs): Likewise.
62 * elf32-hppa.c (elf32_hppa_check_relocs): Likewise.
63 * elf32-i386.c (elf_i386_check_relocs): Likewise.
64 * elf32-iq2000.c (iq2000_elf_check_relocs): Likewise.
65 * elf32-m32r.c (m32r_elf_check_relocs): Likewise.
66 * elf32-m68hc1x.c (elf32_m68hc11_check_relocs): Likewise.
67 * elf32-m68k.c (elf_m68k_check_relocs): Likewise.
68 * elf32-mcore.c (mcore_elf_check_relocs): Likewise.
69 * elf32-metag.c (elf_metag_check_relocs): Likewise.
70 * elf32-or1k.c (or1k_elf_check_relocs): Likewise.
71 * elf32-ppc.c (ppc_elf_check_relocs): Likewise.
72 * elf32-s390.c (elf_s390_check_relocs): Likewise.
73 * elf32-sh.c (sh_elf_check_relocs): Likewise.
74 * elf32-v850.c (v850_elf_check_relocs): Likewise.
75 * elf32-vax.c (elf_vax_check_relocs): Likewise.
76 * elf32-xstormy16.c (xstormy16_elf_check_relocs): Likewise.
77 * elf32-xtensa.c (elf_xtensa_check_relocs): Likewise.
78 * elf64-mmix.c (mmix_elf_check_relocs): Likewise.
79 * elf64-ppc.c (ppc64_elf_check_relocs): Likewise.
80 * elf64-s390.c (elf_s390_check_relocs): Likewise.
81 * elf64-x86-64.c (elf_s390_check_relocs): Likewise.
82 * elfxx-mips.c (_bfd_mips_elf_check_relocs): Likewise.
83 * elfxx-sparc.c (_bfd_sparc_elf_check_relocs): Likewise.
84 * elflink.c (bfd_elf_gc_record_vtinherit): Check for corrupt
85 VTENTRY entry.
86
87 2019-04-11 Alan Modra <amodra@gmail.com>
88
89 PR 24435
90 * elflink.c (elf_link_add_object_symbols): Don't read partial
91 dynamic entries from fuzzed objects.
92
93 2019-04-11 Tamar Christina <tamar.christina@arm.com>
94
95 PR ld/24302
96 * elfnn-aarch64.c (elfNN_aarch64_size_dynamic_sections): Don't emit
97 DT_TLSDESC_GOT and DT_TLSDESC_PLT when DF_BIND_NOW.
98 (elfNN_aarch64_finish_dynamic_sections): Don't write PLT if DF_BIND_NOW.
99
100 2019-04-10 Michael Forney <mforney@mforney.org>
101
102 PR 24427
103 * doc/chew.c (free_words): Correctly free "push_text" strings.
104
105 2019-04-08 H.J. Lu <hongjiu.lu@intel.com>
106
107 * config.bfd: Remove i[3-7]86-*-kaos* and i[3-7]86-*-chaos targets.
108
109 2019-04-08 Alan Modra <amodra@gmail.com>
110
111 * configure.ac (elfxx_x86): Define and use.
112 * configure: Regenerate.
113
114 2019-04-06 H.J. Lu <hongjiu.lu@intel.com>
115
116 * elf-linker-x86.h: New file.
117 * elf32-i386.c (elf_i386_convert_load_reloc): Use htab->params
118 to get x86-specific linker options.
119 * elf64-x86-64.c (elf_x86_64_convert_load_reloc): Likewise.
120 (elf_x86_64_check_relocs): Likewise.
121 (elf_x86_64_relocate_section): Likewise.
122 (elf_x86_64_link_setup_gnu_properties): Likewise.
123 * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Likewise.
124 (_bfd_x86_elf_link_setup_gnu_properties): Likewise.
125 (_bfd_elf_linker_x86_set_options): New function.
126 * elfxx-x86.h: Include "elf-linker-x86.h".
127 (elf_x86_link_hash_table): Add params.
128
129 2019-04-03 Alan Modra <amodra@gmail.com>
130
131 * coff-i386.c, * coff-x86_64.c, * coffgen.c, * dwarf2.c,
132 * elf-m10200.c, * elf.c, * elf32-arm.c, * elf32-bfin.c,
133 * elf32-csky.c, * elf32-m32r.c, * elf32-microblaze.c, * elf32-pru.c,
134 * elf32-rx.c, * elf32-xgate.c, * elf64-sparc.c, * elfnn-ia64.c,
135 * elfxx-riscv.c, * elfxx-sparc.c, * linker.c, * mach-o.c,
136 * pe-x86_64.c, * pei-x86_64.c, * plugin.c: Whitespace fixes.
137
138 2019-04-02 Jim Wilson <jimw@sifive.com>
139
140 PR 24389
141 * elfnn-riscv.c (_bfd_riscv_elf_merge_private_bfd_data): Move read of
142 ELF header flags to after check for ELF object file. Loop through
143 sections looking for code sections, if none, then skip ABI checks.
144
145 2019-03-30 Andrew Waterman <andrew@sifive.com>
146
147 * elfnn-riscv.c (_bfd_riscv_relax_call): Only check ARCH_SIZE for
148 rd == X_RA case.
149
150 2019-03-29 Max Filippov <jcmvbkbc@gmail.com>
151
152 * elf32-xtensa.c (shrink_dynamic_reloc_sections): Add
153 info->export_dynamic to the conditional.
154
155 2019-03-28 Alan Modra <amodra@gmail.com>
156
157 PR 24392
158 * configure.ac: Invoke AC_CHECK_SIZEOF(int).
159 * configure: Regenerate.
160 * coffgen.c (coff_get_reloc_upper_bound): Replace gcc diagnostic
161 workaround with SIZEOF_LONG vs. SIZEOF_INT check.
162 * elf.c (_bfd_elf_get_reloc_upper_bound): Likewise.
163 * elf64-sparc.c (elf64_sparc_get_reloc_upper_bound): Likewise.
164 * mach-o.c (bfd_mach_o_get_reloc_upper_bound): Likewise.
165
166 2019-03-21 Jim Wilson <jimw@sifive.com>
167
168 PR 24365
169 * elfnn-riscv.c (riscv_elf_relocate_section): For STT_SECTION check,
170 verify sym non-NULL before using. Add identical check using h.
171
172 2019-03-21 Sudakshina Das <sudi.das@arm.com>
173
174 * elf-bfd.h (struct elf_backend_data): Add argument to
175 merge_gnu_properties.
176 * elf-properties.c (elf_merge_gnu_properties): Add argument to
177 itself and while calling bed->merge_gnu_properties.
178 (elf_merge_gnu_property_list): Update the calls for
179 elf_merge_gnu_properties.
180 * elfnn-aarch64.c (elfNN_aarch64_merge_gnu_properties): Update handling
181 of --force-bti warning and add argument.
182 * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties): Add
183 warning.
184 * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Add argument.
185 * elfxx-x86.h (_bfd_x86_elf_merge_gnu_properties): Likewise in
186 declaration.
187
188 2019-03-20 Sudakshina Das <sudi.das@arm.com>
189
190 * elfxx-aarch64.c (_bfd_aarch64_elf_link_fixup_gnu_properties): Define.
191 * elfxx-aarch64.h (_bfd_aarch64_elf_link_fixup_gnu_properties): Declare.
192 (elf_backend_fixup_gnu_properties): Define for AArch64.
193
194 2019-03-18 Alan Modra <amodra@gmail.com>
195
196 PR 24355
197 * elf32-ppc.c (ppc_finish_symbols): Don't call write_glink_stub
198 for local iplt syms with ent->plt.offset == -1. Remove ineffective
199 attempt at writing glink stubs only once.
200
201 2019-03-16 Alan Modra <amodra@gmail.com>
202
203 PR 24337
204 * elf.c (_bfd_elf_rela_local_sym): Revert last change.
205 (_bfd_elf_rel_local_sym): Likewise.
206 * elflink.c (elf_link_input_bfd): Use bfd_und_section for
207 section of symbols with unrecognized shndx.
208
209 2019-03-15 H.J. Lu <hongjiu.lu@intel.com>
210
211 PR ld/24267
212 * coffgen.c (_bfd_coff_section_already_linked): Skip discarded
213 section.
214 * cofflink.c (coff_link_add_symbols): Check for symbols defined
215 in discarded section.
216
217 2019-03-15 Alan Modra <amodra@gmail.com>
218
219 PR 24339
220 * elflink.c (elf_link_add_object_symbols): Bail out on a local
221 symbol after globals if elf_bad_symtab is not set.
222
223 2019-03-15 Alan Modra <amodra@gmail.com>
224
225 PR 24337
226 * elf.c (_bfd_elf_rela_local_sym): Don't segfault on NULL sec.
227 (_bfd_elf_rel_local_sym): Likewise.
228
229 2019-03-15 Alan Modra <amodra@gmail.com>
230
231 PR 24336
232 * elflink.c (elf_link_read_relocs_from_section): Handle fuzzed
233 object files with sh_size not a multiple of sh_entsize.
234
235 2019-03-15 H.J. Lu <hongjiu.lu@intel.com>
236
237 PR ld/24338
238 * elf64-x86-64.c (elf_x86_64_relocate_section): Check for corrupt
239 input with bad relocation.
240
241 22019-03-15 H.J. Lu <hongjiu.lu@intel.com>
242
243 * elf64-x86-64.c (elf_x86_64_relocate_section): Re-indent.
244
245 2019-03-14 Nick Clifton <nickc@redhat.com>
246
247 PR 24334
248 * dwarf2.c (struct dwarf2_debug): Add sec_vma_count field.
249 (save_section_vma): Initialise field to the number of entries in
250 the sec_vma table.
251 (section_vma_same): Check that the number of entries in the
252 sec_vma table matches the number of sections in the bfd.
253
254 2019-03-14 Nick Clifton <nickc@redhat.com>
255
256 PR 24333
257 * elflink.c (_bfd_elf_add_default_symbol): Add a check for a NULL
258 section owner pointer when adding the default symbol.
259
260 2019-03-14 Nick Clifton <nickc@redhat.com>
261
262 PR 24332
263 * elflink.c (elf_link_add_object_symbols): Add new local variable
264 extversym_end. Initialise it to point to the end of the version
265 symbol table, if present. Check it when initialising and updating
266 the ever pointer.
267
268 2019-03-13 Sudakshina Das <sudi.das@arm.com>
269
270 * elfnn-aarch64.c (PLT_PAC_ENTRY_SIZE, PLT_PAC_SMALL_ENTRY_SIZE): New.
271 (PLT_BTI_PAC_ENTRY_SIZE, PLT_BTI_PAC_SMALL_ENTRY_SIZE): New.
272 (setup_plt_values): Account for PAC or PAC and BTI enabled PLTs.
273 (elfNN_aarch64_size_dynamic_sections): Add checks for PLT_BTI_PAC
274 and PLT_PAC_PLT.
275 (elfNN_aarch64_finish_dynamic_sections): Account for PLT_BTI_PAC.
276 (get_plt_type): Add case for DT_AARCH64_PAC_PLT.
277 (elfNN_aarch64_plt_sym_val): Add cases for PLT_BTI_PAC and PLT_PAC.
278
279 2019-03-13 Sudakshina Das <sudi.das@arm.com>
280 Szabolcs Nagy <szabolcs.nagy@arm.com>
281
282 * bfd-in.h (aarch64_plt_type, aarch64_enable_bti_type): New.
283 (aarch64_bti_pac_info): New.
284 (bfd_elf64_aarch64_set_options): Add aarch64_bti_pac_info argument.
285 (bfd_elf32_aarch64_set_options): Likewise.
286 * bfd-in2.h: Regenerate
287 * elfnn-aarch64.c (PLT_BTI_ENTRY_SIZE): New.
288 (PLT_BTI_SMALL_ENTRY_SIZE, PLT_BTI_TLSDESC_ENTRY_SIZE): New.
289 (elfNN_aarch64_small_plt0_bti_entry): New.
290 (elfNN_aarch64_small_plt_bti_entry): New.
291 (elfNN_aarch64_tlsdesc_small_plt_bti_entry): New.
292 (elf_aarch64_obj_tdata): Add no_bti_warn and plt_type fields.
293 (elf_aarch64_link_hash_table): Add plt0_entry, plt_entry and
294 tlsdesc_plt_entry_size fields.
295 (elfNN_aarch64_link_hash_table_create): Initialise the new fields.
296 (setup_plt_values): New helper function.
297 (bfd_elfNN_aarch64_set_options): Use new bp_info to set plt sizes and
298 bti enable type.
299 (elfNN_aarch64_allocate_dynrelocs): Use new size members instead of
300 fixed macros.
301 (elfNN_aarch64_size_dynamic_sections): Likewise and add checks.
302 (elfNN_aarch64_create_small_pltn_entry): Use new generic pointers
303 to plt stubs instead of fixed ones and update filling them according
304 to the need for bti.
305 (elfNN_aarch64_init_small_plt0_entry): Likewise.
306 (elfNN_aarch64_finish_dynamic_sections): Likewise.
307 (get_plt_type, elfNN_aarch64_get_synthetic_symtab): New.
308 (elfNN_aarch64_plt_sym_val): Update size accordingly.
309 (elfNN_aarch64_link_setup_gnu_properties): Set up plts if BTI GNU NOTE
310 is set.
311 (bfd_elfNN_get_synthetic_symtab): Define.
312 (elfNN_aarch64_merge_gnu_properties): Give out warning with --force-bti
313 and mising BTI NOTE SECTION.
314
315
316 2019-03-13 Sudakshina Das <sudi.das@arm.com>
317
318 * elf-properties.c (_bfd_elf_link_setup_gnu_properties): Exclude
319 linker created inputs from merge.
320 * elfnn-aarch64.c (struct elf_aarch64_obj_tdata): Add field for
321 GNU_PROPERTY_AARCH64_FEATURE_1_AND properties.
322 (elfNN_aarch64_link_setup_gnu_properties): New.
323 (elfNN_aarch64_merge_gnu_properties): New.
324 (elf_backend_setup_gnu_properties): Define for AArch64.
325 (elf_backend_merge_gnu_properties): Likewise.
326 * elfxx-aarch64.c (_bfd_aarch64_elf_link_setup_gnu_properties): Define.
327 (_bfd_aarch64_elf_parse_gnu_properties): Define.
328 (_bfd_aarch64_elf_merge_gnu_properties): Define.
329 * elfxx-aarch64.h (_bfd_aarch64_elf_link_setup_gnu_properties): Declare.
330 (_bfd_aarch64_elf_parse_gnu_properties): Declare.
331 (_bfd_aarch64_elf_merge_gnu_properties): Declare.
332 (elf_backend_parse_gnu_properties): Define for AArch64.
333
334 2019-03-13 H.J. Lu <hongjiu.lu@intel.com>
335
336 PR ld/24322
337 * elfxx-x86.c (_bfd_x86_elf_merge_gnu_properties): Properly
338 merge GNU_PROPERTY_X86_FEATURE_1_[IBT|SHSTK].
339
340 2019-03-12 Alan Modra <amodra@gmail.com>
341
342 * coffcode.h (buy_and_read): Delete unnecessary forward decl. Add
343 nmemb parameter. Use bfd_alloc2.
344 (coff_slurp_line_table): Use bfd_alloc2. Update buy_and_read calls.
345 Delete assertion.
346 (coff_slurp_symbol_table): Use bfd_alloc2 and bfd_zalloc2.
347 (coff_slurp_reloc_table): Use bfd_alloc2. Update buy_and_read calls.
348 * coffgen.c (coff_get_reloc_upper_bound): Ensure size calculation
349 doesn't overflow.
350 * elf.c (bfd_section_from_shdr): Use bfd_zalloc2. Style fix.
351 (assign_section_numbers): Style fix.
352 (swap_out_syms): Use bfd_malloc2.
353 (_bfd_elf_get_reloc_upper_bound): Ensure size calculation doesn't
354 overflow.
355 (_bfd_elf_make_empty_symbol): Style fix.
356 (elfobj_grok_stapsdt_note_1): Formatting.
357 * elfcode.h (elf_object_p): Use bfd_alloc2.
358 (elf_write_relocs, elf_write_shdrs_and_ehdr): Likewise.
359 (elf_slurp_symbol_table): Use bfd_zalloc2.
360 (elf_slurp_reloc_table): Use bfd_alloc2.
361 (_bfd_elf_bfd_from_remote_memory): Use bfd_malloc2.
362 * elf64-sparc (elf64_sparc_get_reloc_upper_bound): Ensure
363 size calculation doesn't overflow.
364 (elf64_sparc_get_dynamic_reloc_upper_bound): Likewise.
365 * mach-o.c (bfd_mach_o_get_reloc_upper_bound): Likewise.
366 * pdp11.c (get_reloc_upper_bound): Copy aoutx.h version.
367
368 2019-03-08 Alan Modra <amodra@gmail.com>
369
370 PR 24311
371 * merge.c (merge_strings): Return secinfo. Don't pad section
372 to alignment here.
373 (_bfd_merge_sections): Pad section to alignment here, if input
374 sections contributing to merged output all pad to alignment.
375 Formatting.
376
377 2019-03-06 Nick Clifton <nickc@redhat.com>
378
379 * dwarf2.c (_bfd_dwarf2_find_symbol_bias): Check for a NULL symbol
380 table pointer.
381 * coffgen.c (coff_find_nearest_line_with_names): Do not call
382 _bfd_dwarf2_find_symbol_bias if there is no symbol table available.
383
384 2019-03-01 Andreas Krebbel <krebbel@linux.ibm.com>
385
386 This reverts commit 5a12586d44fa8d5dfc74cbca4f2f36a273a16335.
387 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
388
389 PR 20113
390 * elf32-s390.c (allocate_dynrelocs): Update comment.
391
392 2019-02-28 Tamar Christina <tamar.christina@arm.com>
393
394 * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): Correct CIE parse.
395
396 2019-02-28 Nick Clifton <nickc@redhat.com>
397
398 PR 24273
399 * elf.c (bfd_elf_string_from_elf_section): Check for a string
400 section that is not NUL terminated.
401
402 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
403
404 PR ld/24276
405 * elf64-x86-64.c (elf_x86_64_check_relocs): Skip symbol defined
406 by linker when checking copy reloc on protected symbol.
407
408 2019-02-24 Alan Modra <amodra@gmail.com>
409
410 PR 24144
411 * pdp11.c (set_section_contents): Revert 2015-02-24 change.
412
413 2019-02-20 Eric Tsai <erictsai@cadence.com>
414
415 * elf32-xtensa.c (is_resolvable_asm_expansion): Scan output
416 sections between the call site and call destination and adjust
417 call distance by the largest alignment.
418
419 2019-02-20 Alan Hayward <alan.hayward@arm.com>
420
421 * elf-bfd.h (elfcore_write_aarch_pauth): Add declaration.
422 * elf.c (elfcore_grok_aarch_pauth): New function.
423 (elfcore_grok_note): Check for NT_ARM_PAC_MASK.
424 (elfcore_write_aarch_pauth): New function.
425 (elfcore_write_register_note): Check for AArch64 pauth section.
426
427 2019-02-20 Alan Modra <amodra@gmail.com>
428
429 PR 24225
430 * elf32-nios2.c (nios2_elf32_relocate_section): Check asprintf
431 return value.
432
433 2019-02-20 Michael Roitzsch <reactorcontrol@icloud.com>
434
435 * configure.ac (SHARED_LIBADD): Add -liberty -lintl for all
436 Darwin hosts, not just or1k.
437 * configure: Regenerate.
438
439 2019-02-20 Alan Modra <amodra@gmail.com>
440
441 PR 24236
442 * archive64.c (_bfd_archive_64_bit_slurp_armap): Move code adding
443 sentinel NUL to string buffer nearer to loop where it is used.
444 Don't go past sentinel when scanning strings, and don't write
445 NUL again.
446 * archive.c (do_slurp_coff_armap): Simplify string handling to
447 archive64.c style.
448
449 2019-02-19 Alan Modra <amodra@gmail.com>
450
451 PR 24235
452 * pei-x86_64.c (pex64_bfd_print_pdata_section): Correct checks
453 attempting to prevent read past end of section.
454
455 2019-02-18 Alan Modra <amodra@gmail.com>
456
457 PR 24225
458 * elf32-nios2.c (nios2_elf32_relocate_section): Use asprintf and
459 PRIx64 to generate warning messages. Print local sym names too.
460
461 2019-02-09 Vineet Gupta <vgupta@synopsys.com>
462
463 * elf32-arc (INIT_SYM_STRING): Delete.
464 (FINI_SYM_STRING): Likewise.
465 (init_str): Likewise.
466 (fini_str): Likewise.
467
468 2019-02-08 Alan Modra <amodra@gmail.com>
469
470 * elf32-ppc.c (ppc_elf_relocate_section): Add %X to "unsupported
471 for bss-plt" warning to make it an error.
472
473 2019-02-07 Eric Botcazou <ebotcazou@adacore.com>
474
475 PR ld/18841
476 * elf32-sparc.c (elf32_sparc_reloc_type_class): Return
477 reloc_class_ifunc for ifunc symbols.
478 * elf64-sparc.c (elf64_sparc_reloc_type_class): Likewise.
479
480 2019-02-07 Eric Botcazou <ebotcazou@adacore.com>
481
482 * elf32-visium.c (visium_elf_howto_parity_reloc): Minor tweak.
483 <R_VISIUM_PC16>: Use explicit range test to detect an overflow.
484
485 2019-02-07 Nick Clifton <nickc@redhat.com>
486
487 * config.bfd: Move the powerpc-lynxos and powerpc-windiss targets
488 into the definitely obsolete list.
489
490 2019-02-05 H.J. Lu <hongjiu.lu@intel.com>
491
492 PR ld/24151
493 * elf64-x86-64.c (elf_x86_64_need_pic): Check
494 SYMBOL_DEFINED_NON_SHARED_P instead of def_regular.
495 (elf_x86_64_relocate_section): Move PIC check for PC-relative
496 relocations to ...
497 (elf_x86_64_check_relocs): Here.
498 (elf_x86_64_finish_dynamic_symbol): Use SYMBOL_DEFINED_NON_SHARED_P
499 to check if a symbol is defined in a non-shared object.
500 * elfxx-x86.h (SYMBOL_DEFINED_NON_SHARED_P): New.
501
502 2019-01-21 Sergio Durigan Junior <sergiodj@redhat.com>
503
504 * elf32-arm.c (elf32_arm_final_link_relocate): Use 'llabs' instead
505 of 'labs' (and fix GCC warning).
506
507 2019-01-25 Nick Clifton <nickc@redhat.com>
508
509 * po/ru.po: Updated Russian translation.
510
511 2019-01-23 Nick Clifton <nickc@redhat.com>
512
513 * po/fr.po: Updated French translation.
514
515 2019-01-21 Nick Clifton <nickc@redhat.com>
516
517 * po/pt.po: Updated Portuguese translation.
518 * po/uk.po: Updated Ukranian translation.
519
520 2019-01-21 Yuri Chornoivan <yurchor@ukr.net>
521
522 PR 24108
523 * elf32-nds32.c (nds32_relocate_section): Add space between words
524 in error message.
525 * elfnn-riscv.c (riscv_version_mismatch): Fix spelling mistake in
526 error message.
527 (riscv_i_or_e_p): Likewise.
528 (riscv_merge_arch_attr_info): Likewise.
529
530 2019-01-19 Nick Clifton <nickc@redhat.com>
531
532 * version.m4: Reset to 2.32.51
533 * configure: Regenerate.
534 * po/bfd.pot: Regenerate.
535
536 2018-06-24 Nick Clifton <nickc@redhat.com>
537
538 2.32 branch created.
539
540 2019-01-16 Kito Cheng <kito@andestech.com>
541
542 * elf-attrs.c (vendor_obj_attr_size): Return 0 if size is 0 even
543 for OBJ_ATTR_PROC.
544
545 2019-01-16 Kito Cheng <kito@andestech.com>
546 Nelson Chu <nelson@andestech.com>
547
548 * elfnn-riscv.c (in_subsets): New.
549 (out_subsets): Likewise.
550 (merged_subsets): Likewise.
551 (riscv_std_ext_p): Likewise.
552 (riscv_non_std_ext_p): Likewise.
553 (riscv_std_sv_ext_p): Likewise.
554 (riscv_non_std_sv_ext_p): Likewise.
555 (riscv_version_mismatch): Likewise.
556 (riscv_i_or_e_p): Likewise.
557 (riscv_merge_std_ext): Likewise.
558 (riscv_merge_non_std_and_sv_ext): Likewise.
559 (riscv_merge_arch_attr_info): Likewise.
560 (riscv_merge_attributes): Likewise.
561 (_bfd_riscv_elf_merge_private_bfd_data): Merge attribute.
562
563 * elfnn-riscv.c (riscv_elf_obj_attrs_arg_type): New.
564 (elf_backend_obj_attrs_vendor): Define.
565 (elf_backend_obj_attrs_section_type): Likewise.
566 (elf_backend_obj_attrs_section): Likewise.
567 (elf_backend_obj_attrs_arg_type): Define as
568 riscv_elf_obj_attrs_arg_type.
569 * elfxx-riscv.c (riscv_estimate_digit): New.
570 (riscv_estimate_arch_strlen1): Likewise.
571 (riscv_estimate_arch_strlen): Likewise.
572 (riscv_arch_str1): Likewise.
573 (riscv_arch_str): Likewise.
574 * elfxx-riscv.h (riscv_arch_str): Declare.
575
576 2019-01-14 John Darrington <john@darrington.wattle.id.au>
577
578 * bfd-in2.h [BFD_RELOC_S12Z_OPR]: New reloc.
579 * libbfd.h: regen.
580 * elf32-s12z.c (eld_s12z_howto_table): R_S12Z_OPR takes non zero
581 source field. (md_apply_fix): Apply final fix
582 to BFD_RELOC_S12Z_OPR.
583 * reloc.c[BFD_RELOC_S12Z_OPR]: New reloc.
584
585 2019-01-14 Maamoun Tarsha <maamountk@hotmail.com>
586
587 PR 20113
588 * elf32-s390.c (allocate_dynrelocs): Update comment.
589
590 2019-01-09 Andrew Paprocki <andrew@ishiboo.com>
591
592 * warning.m4: Adjust egrep pattern for non-GNU compilers.
593 * configure: Regenerate.
594
595 2019-01-08 Alan Modra <amodra@gmail.com>
596
597 PR 23699
598 PR 24065
599 * ihex.c (ihex_write_object_contents): Properly check 32-bit
600 address range.
601
602 2019-01-05 Yoshinori Sato <ysato@users.sourceforge.jp>
603
604 * bfd/archures.c: Add bfd_mach_rx_v2 and bfd_mach_rx_v3.
605 * bfd/bfd-in2.h: Regenerate.
606 * bfd/cpu-rx.c (arch_info_struct): Add RXv2 and RXv3 entry.
607 * bfd/elf32-rx.c (elf32_rx_machine): Add RXv2 and RXv3 support.
608
609 2019-01-04 Lifang Xia <lifang_xia@c-sky.com>
610
611 * config.bfd (csky-*-elf* | csky-*-linux*): Modify the csky
612 default target, little endian target is more suitable.
613
614 2019-01-04 Alan Modra <amodra@gmail.com>
615
616 PR 24061
617 PR 21786
618 * coff-rs6000.c (GET_VALUE_IN_FIELD): Add base parameter and
619 adjust all callers.
620 (EQ_VALUE_IN_FIELD): Likewise.
621 * coff64-rs6000.c (GET_VALUE_IN_FIELD): Likewise.
622
623 2019-01-01 Alan Modra <amodra@gmail.com>
624
625 Update year range in copyright notice of all files.
626
627 For older changes see ChangeLog-2018
628 \f
629 Copyright (C) 2019 Free Software Foundation, Inc.
630
631 Copying and distribution of this file, with or without modification,
632 are permitted in any medium without royalty provided the copyright
633 notice and this notice are preserved.
634
635 Local Variables:
636 mode: change-log
637 left-margin: 8
638 fill-column: 74
639 version-control: never
640 End: