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