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