]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - bfd/ChangeLog
Adjust PR25355 testcase
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
CommitLineData
99845b3b
L
12020-02-13 H.J. Lu <hongjiu.lu@intel.com>
2
3 * plugin.c (try_load_plugin): Make plugin_list_iter an argument
4 and use it if it isn't NULL. Remove has_plugin_p argument. Add
5 a build_list_p argument. Don't search plugin_list. Short circuit
6 when building the plugin list.
7 (has_plugin): Renamed to has_plugin_list.
8 (bfd_plugin_set_plugin): Don't set has_plugin.
9 (bfd_plugin_specified_p): Check plugin_list instead.
10 (build_plugin_list): New function.
11 (load_plugin): Call build_plugin_list and use plugin_list.
12
22fe7df8
L
132020-02-11 H.J. Lu <hongjiu.lu@intel.com>
14
15 PR binutils/25355
16 * plugin.c (try_claim): Always clean up for LTO wrapper.
17 (try_load_plugin): Treat each object as independent. Create a
18 copy for plugin name.
19
c675ec1e
NC
202020-02-11 Nick Clifton <nickc@redhat.com>
21
22 * elf32-msp430.c (msp430_final_link_relocate): Always use longs
23 for addresses in print statements.
24 (msp430_elf_relax_delete_bytes): Likewise.
25 (msp430_elf_relax_add_words): Likewise.
26 (msp430_elf_relax_section): Likewise.
27
1d07a805
L
282020-02-11 H.J. Lu <hongjiu.lu@intel.com>
29
30 * plugin.c (add_symbols): Clear plugin_data memory.
31
0aa99dcd
L
322020-02-10 H.J. Lu <hongjiu.lu@intel.com>
33
34 PR binutils/25355
35 * configure.ac (HAVE_EXECUTABLE_SUFFIX): New AC_DEFINE.
36 (EXECUTABLE_SUFFIX): Likewise.
37 * config.in: Regenerated.
38 * configure: Likewise.
39 * plugin.c (bfd_plugin_close_and_cleanup): Removed.
40 (plugin_list_entry): Add all_symbols_read, cleanup_handler,
41 gcc, lto_wrapper, resolution_file, resolution_option, gcc_env,
42 real_bfd, real_nsyms, real_syms, lto_nsyms and lto_syms.
43 (get_lto_wrapper): New.
44 (setup_lto_wrapper_env): Likewise.
45 (current_plugin): Likewise.
46 (register_all_symbols_read): Likewise.
47 (register_cleanup): Likewise.
48 (get_symbols): Likewise.
49 (add_input_file): Likewise.
50 (bfd_plugin_close_and_cleanup): Likewise.
51 (claim_file): Removed.
52 (register_claim_file): Set current_plugin->claim_file.
53 (add_symbols): Make a copy of LTO symbols. Set lto_nsyms and
54 lto_syms in current_plugin.
55 (try_claim): Use current_plugin->claim_file. Call LTO plugin
56 all_symbols_read handler. Copy real symbols to plugin_data.
57 Call LTO plugin cleanup handler. Clean up for LTO wrapper.
58 (try_load_plugin): Don't reuse the previous plugin for LTO
59 wrapper. Set up GCC LTO wrapper if possible. Don't set
60 plugin_list_iter->claim_file.
61 (bfd_plugin_canonicalize_symtab): Use real LTO symbols if
62 possible.
63 * plugin.h (plugin_data_struct): Add real_bfd, real_nsyms and
64 real_syms.
65
ac4280da
JL
662020-02-10 Jozef Lawrynowicz <jozef.l@mittosystems.com>
67
68 * elf32-msp430.c (msp430_elf_relax_section): Before relaxing a branch,
69 check if previous instruction matches a conditional jump inserted
70 earlier. Invert conditional jump and delete branch in this case.
71
8d6cb116
JL
722020-02-10 Jozef Lawrynowicz <jozef.l@mittosystems.com>
73
74 * elf32-msp430.c (msp430_elf_relax_add_two_words): Rename to
75 msp430_elf_relax_add_words. Support insertion of either one or two
76 words.
77 (msp430_elf_relax_section): Catch opcode of 0x3c00 when relocation
78 needs to be grown. Handle insertion of branch instruction to replace
79 jump.
80
d60f5448
JL
812020-02-10 Jozef Lawrynowicz <jozef.l@mittosystems.com>
82
83 * elf32-msp430.c (msp430_final_link_relocate): Add printf statements for
84 debugging relocations.
85 (msp430_elf_relax_delete_bytes): Likewise.
86 (msp430_elf_relax_add_two_words): Likewise.
87 (msp430_elf_relax_section): Likewise.
88
e1f85e11
AM
892020-02-10 Alan Modra <amodra@gmail.com>
90
91 * archures.c: Wrap overlong z80 comments.
92 * bfd-in2.h: Regenerate.
93
9fc0b501
SB
942020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
95
96 PR 25469
97 * archures.c: Add GBZ80 and Z80N machine values.
98 * reloc.c: Add BFD_RELOC_Z80_16_BE.
99 * coff-z80.c: Add support for new reloc.
100 * coffcode.h: Add support for new machine values.
101 * cpu-z80.c: Add support for new machine names.
102 * elf32-z80.c: Add support for new reloc.
103 * bfd-in2.h: Regenerate.
104 * libbfd.h: Regenerate.
105
9984857c
NC
1062020-02-07 Nick Clifton <nickc@redhat.com>
107
108 PR 23932
109 * elf.c (rewrite_elf_program_header): Do not complain if no
110 sections are mapped to a segment.
111
5242a0a0
L
1122020-02-06 H.J. Lu <hongjiu.lu@intel.com>
113
114 PR ld/25490
115 * elflink.c (_bfd_elf_gc_mark_extra_sections): Issue an error
116 for garbage collection on __patchable_function_entries section
117 without linked-to section.
118
b7d07216
L
1192020-02-06 H.J. Lu <hongjiu.lu@intel.com>
120
121 PR gas/25381
122 * bfd-in2.h: Regenerated.
123 * elflink.c (_bfd_elf_gc_mark_extra_sections): Call mark_hook
124 on section if gc_mark of any of its linked-to sections is set
125 and don't set gc_mark again.
126 * section.c (asection): Add linked_to_symbol_name to map_head
127 union.
128
b93a662b
MR
1292020-02-06 Maciej W. Rozycki <macro@wdc.com>
130
131 * elf32-v850.c (v850_elf_relax_section): Fix the index used for
132 reporting an unrecognized instruction with R_V850_LONGJUMP.
133
6df4c9c2
AM
1342020-02-05 Alan Modra <amodra@gmail.com>
135
136 * elf64-ppc.c (ppc_stub_plt_branch): Match comment with reality.
137
24872cb3
AM
1382020-02-04 Alan Modra <amodra@gmail.com>
139
140 * elf32-ppc.c (ppc_elf_relocate_section): After applying
141 R_PPC_VLE_ADDR20, goto copy_reloc.
142
ef4627fa
L
1432020-02-02 H.J. Lu <hongjiu.lu@intel.com>
144
145 * bfd-in2.h: Regenerated.
146 * section.c (SEC_ASSEMBLER_SECTION_ID): Fix a typo in comments.
147
a8c4d40b
L
1482020-02-02 H.J. Lu <hongjiu.lu@intel.com>
149
150 PR gas/25380
151 * bfd-in2.h: Regenerated.
152 * ecoff.c (bfd_debug_section): Add section_id.
153 * section.c (bfd_section): Add section_id.
154 (SEC_ASSEMBLER_SECTION_ID): New.
155 (BFD_FAKE_SECTION): Add section_id.
156
5a9212a1
NC
1572020-02-01 Nick Clifton <nickc@redhat.com>
158
159 * config.bfd: Move the c30-aout and tic30-aout targets onto the
160 obsolete list.
161
e7cbe0c4
SL
1622020-01-31 Sandra Loosemore <sandra@codesourcery.com>
163
164 * elf-eh-frame.c (_bfd_elf_write_section_eh_frame): DW_EH_PE_datarel
165 encodings are relative to the GOT on nios2, too.
166
72ebe8c5
AM
1672020-01-31 Alan Modra <amodra@gmail.com>
168
169 * Makefile.am (elf32-target.h, elf64-target.h): Don't use a temp
170 file. Use $< and $@ in rules.
171 (elf32-aarch64.c, elf64-aarch64.c): Likewise.
172 (elf32-ia64.c, elf64-ia64.c): Likewise.
173 (elf32-riscv.c, elf64-riscv.c): Likewise.
174 (peigen.c, pepigen.c, pex64igen.c): Likewise.
175 (elf32-aarch64.c, elf64-aarch64.c): Don't emit $srcdir on #line.
176 (elf32-riscv.c, elf64-riscv.c): Likewise, and use $(SED).
177 (elf32-ia64.c, elf64-ia64.c): Do emit #line.
178 (peigen.c, pepigen.c, pex64igen.c): Likewise.
179 * Makefile.in: Regenerate.
180
327301a4
AM
1812020-01-31 Alan Modra <amodra@gmail.com>
182
183 PR 4110
184 * elf.c (setup_group): Don't clear entire section contents,
185 just the padding after group flags. Release alloc'd memory
186 after a seek or read failure.
187
b5d36aaa
JT
1882020-01-16 Jon Turney <jon.turney@dronecode.org.uk>
189
190 * peXXigen.c (pe_is_repro): New function.
191 (_bfd_XX_print_private_bfd_data_common): Note timestamp is
192 actually a build hash if PE_IMAGE_DEBUG_TYPE_REPRO is present.
193
1957ab10
JT
1942020-01-16 Jon Turney <jon.turney@dronecode.org.uk>
195
196 * peXXigen.c (debug_type_names): Add names for new debug data type
197 values.
198
87b2920f
JT
1992020-01-16 Jon Turney <jon.turney@dronecode.org.uk>
200
201 * peXXigen.c (pe_print_debugdata): Fix the iteration variable for
202 inner loop. Fix a memory leak.
203
72913831
AM
2042020-01-30 Alan Modra <amodra@gmail.com>
205
206 * coffgen.c (coff_real_object_p): Don't clear obj_coff_keep_syms
207 or obj_coff_keep_strings here.
208 (coff_get_normalized_symtab): Free external syms directly.
209 * xcofflink.c (xcoff_link_input_bfd): Restore obj_coff_keep_syms
210 on error exit path.
211
c35d018b
JW
2122020-01-27 Jim Wilson <jimw@sifive.com>
213
214 * cpu-riscv.c (riscv_scan): New.
215 (N): Change bfd_default_scan to riscv_scan.
216
086b06f3
AS
2172020-01-27 Andreas Schwab <schwab@suse.de>
218
219 * Makefile.am (ALL_MACHINES): Remove cpu-plugin.lo.
220 (ALL_MACHINES_CFILES): Remove cpu-plugin.c.
221 * Makefile.in: Regenerate.
222 * cpu-plugin.c: Remove.
223 * archures.c (enum bfd_architecture): Remove bfd_arch_plugin.
224 (bfd_plugin_arch): Remove declaration.
225 * bfd-in2.h: Regenerate.
226 * po/SRC-POTFILES.in: Regenerate.
227
3024a17a
AM
2282020-01-27 H.J. Lu <hongjiu.lu@intel.com>
229 Alan Modra <amodra@gmail.com>
230
231 PR ld/25458
232 * elflink.c (_bfd_elf_gc_mark_rsec): Mark all weak aliases.
233
b5f998b2
JW
2342020-01-24 Jim Wilson <jimw@sifive.com>
235
236 * elfxx-riscv.c (riscv_get_prefix_class): Format s case like others.
237 (riscv_parse_prefixed_ext): Fix s extension comment and reword to
238 avoid over long line.
239
caa31cfa
NC
2402020-01-24 Nick Clifton <nickc@redhat.com>
241
242 PR 25447
243 * coffgen.c (_bfd_coff_close_and_cleanup): Do not clear the keep
244 syms and keep strings flags as these may have been set in order to
245 prevent a bogus call to free.
246
24e648d4
NC
2472020-01-23 Nick Clifton <nickc@redhat.com>
248
249 * po/fr.po: Updated French translation.
250
67641dd3
AM
2512020-01-23 Alan Modra <amodra@gmail.com>
252
253 PR 25444
254 * elf.c (assign_file_positions_for_load_sections): Avoid divide
255 by zero when p_align is zero.
256
403d1bd9
JW
2572020-01-22 Maxim Blinov <maxim.blinov@embecosm.com>
258
259 * bfd/elfnn-riscv.c (riscv_skip_prefix): New.
260 (riscv_prefix_cmp): Likewise.
261 (riscv_non_std_ext_p): Deleted.
262 (riscv_std_sv_ext_p): Likewise.
263 (riscv_non_std_sv_ext_p): Likewise.
264 (riscv_merge_non_std_and_sv_ext): Rename to...
265 (riscv_merge_multi_letter_ext): and modified to use riscv_prefix_cmp.
266 (riscv_merge_arch_attr_info): Replace 3 calls to
267 riscv_merge_non_std_and_sv_ext with single call to
268 riscv_merge_multi_letter_ext.
269 * bfd/elfxx-riscv.c (riscv_parse_std_ext): Break if we
270 encounter a 'z' prefix.
271 (riscv_get_prefix_class): New function, return prefix class based
272 on first few characters of input string.
273 (riscv_parse_config): New structure to factor out minor differences
274 in extension class parsing behaviour.
275 (riscv_parse_sv_or_non_std_ext): Rename to...
276 (riscv_parse_prefixed_ext): and parameterise with
277 riscv_parse_config.
278 (riscv_std_z_ext_strtab, riscv_std_s_ext_strtab): New.
279 (riscv_multi_letter_ext_valid_p): New.
280 (riscv_ext_x_valid_p, riscv_ext_z_valid_p, riscv_ext_s_valid_p): New.
281 (riscv_parse_subset): Delegate all non-single-letter parsing work
282 to riscv_parse_prefixed_ext.
283 * bfd/elfxx-riscv.h (riscv_isa_ext_class): New type.
284 (riscv_get_prefix_class): Declare.
285
a804e476
AM
2862020-01-22 Alan Modra <amodra@gmail.com>
287
288 * elf64-ppc.c (struct ppc_link_hash_table): Add tga_group.
289 (ppc64_elf_archive_symbol_lookup): Extract __tls_get_addr_opt for
290 __tls_get_addr_desc.
291 (ppc64_elf_size_stubs): Add section for linker generated
292 __tls_get_addr_desc wrapper function. Loop at least once if
293 generating this function.
294 (emit_tga_desc, emit_tga_desc_eh_frame): New functions.
295 (ppc64_elf_build_stubs): Generate __tls_get_addr_desc.
296
9e7028aa
AM
2972020-01-22 Alan Modra <amodra@gmail.com>
298
299 * elf64-ppc.h (struct ppc64_elf_params): Add no_tls_get_addr_regsave.
300 * elf64-ppc.c (struct ppc_link_hash_table): Add tga_desc and
301 tga_desc_fd.
302 (is_tls_get_addr): Match tga_desc and tga_desc_df too.
303 (STDU_R1_0R1, ADDI_R1_R1): Define.
304 (tls_get_addr_prologue, tls_get_addr_epilogue): New functions.
305 (ppc64_elf_tls_setup): Set up tga_desc and tga_desc_fd. Indirect
306 tga_desc_fd to opt_fd, and tga_desc to opt. Set
307 no_tls_get_addr_regsave.
308 (branch_reloc_hash_match): Add hash3 and hash4.
309 (ppc64_elf_tls_optimize): Handle tga_desc_fd and tga_desc too.
310 (ppc64_elf_size_dynamic_sections): Likewise.
311 (ppc64_elf_relocate_section): Likewise.
312 (plt_stub_size, build_plt_stub): Likewise. Size regsave
313 __tls_get_addr stub.
314 (build_tls_get_addr_stub): Build regsave __tls_get_addr stub and
315 eh_frame.
316 (ppc_size_one_stub): Handle tga_desc_fd and tga_desc too. Size
317 eh_frame for regsave __tls_get_addr.
318
abc489c6
AM
3192020-01-22 Alan Modra <amodra@gmail.com>
320
321 * elf64-ppc.c (ppc64_elf_size_stubs): Correct condition under
322 which __tls_get_addr calls will be eliminated.
323
26916852
NC
3242020-01-20 Nick Clifton <nickc@redhat.com>
325
326 * po/pt.po: Updates Portuguese translation.
327 * po/ru.po: Updated Russian translation.
328 * po/uk.po: Updated Ukranian translation.
329
14470f07
L
3302020-01-20 H.J. Lu <hongjiu.lu@intel.com>
331
332 PR ld/25416
333 * elf64-x86-64.c (elf_x86_64_check_tls_transition): Support
334 "rex leal x@tlsdesc(%rip), %reg" and "call *x@tlsdesc(%eax)" in
335 X32 mode.
336 (elf_x86_64_relocate_section): In x32 mode, for GDesc -> LE
337 transition, relax "rex leal x@tlsdesc(%rip), %reg" to
338 "rex movl $x@tpoff, %reg", for GDesc -> IE transition, relax
339 "rex leal x@tlsdesc(%rip), %reg" to
340 "rex movl x@gottpoff(%rip), %eax". For both transitions, relax
341 "call *(%eax)" to "nopl (%rax)".
342
b9ca1af6
AM
3432020-01-20 Alan Modra <amodra@gmail.com>
344
345 * elf64-ppc.c (LD_R11_0R3, CMPDI_R11_0, STD_R11_0R1, LD_R11_0R1),
346 (MTLR_R11): Don't define.
347 (LD_R0_0R3, CMPDI_R0_0): Define.
348 (build_tls_get_addr_stub): Don't use r11 in stub.
349
ed7007c1
AM
3502020-01-20 Alan Modra <amodra@gmail.com>
351
352 * elf64-ppc.c (ppc_elf_hash_entry): New function, use throughout file.
353 (defined_sym_val, is_tls_get_addr): Likewise.
354
1b1bb2c6
NC
3552020-01-18 Nick Clifton <nickc@redhat.com>
356
357 * version.m4 (BFD_VERSION): Set to 2.34.50.
358 * configure: Regenerate.
359 * po/bfd.pot: Regenerate.
360
ae774686
NC
3612020-01-18 Nick Clifton <nickc@redhat.com>
362
363 Binutils 2.34 branch created.
364
07f1f3aa
CB
3652020-01-17 Christian Biesinger <cbiesinger@google.com>
366
367 * coff-arm.c: Fix spelling error (seperate).
368 * elfxx-riscv.c (riscv_parse_sv_or_non_std_ext): Fix spelling
369 error (seperate).
370 * sysdep.h (strnlen): Fix spelling error (seperate).
371
0d1cc75d
LB
3722020-01-15 Lars Brinkhoff <lars@nocrew.org>
373
374 PR 20694
375 * pdp11.c (TARGET_PAGE_SIZE): Set to 8192.
376
e1c6cf61
AM
3772020-01-15 Alan Modra <amodra@gmail.com>
378
379 PR 25384
380 * elf64-ppc.c (ELIMINATE_COPY_RELOCS): Update comment.
381 (ppc64_elf_adjust_dynamic_symbol): Don't allow .dynbss copies
382 of function symbols unless dot symbols are present. Do warn
383 whenever one is created, regardles of whether a PLT entry is
384 also emitted for the function symbol.
385
ef4e5ba5
AM
3862020-01-14 Alan Modra <amodra@gmail.com>
387
388 * som.c (som_bfd_count_ar_symbols): Error when file position
389 of symbols on chains is not strictly increasing.
390
8ab484c2
AM
3912020-01-14 Alan Modra <amodra@gmail.com>
392
393 * vms.h (VMS_DEBUG): Define as 0.
394 * vms-alpha.c (image_write): Move debug output after bounds check.
395 Tidy bounds check.
396 (_bfd_vms_slurp_eihd): Warning fix.
397 (_bfd_vms_slurp_etir): Init variables to avoid bogus warnings.
398
b50ef514
AM
3992020-01-13 Alan Modra <amodra@gmail.com>
400
401 * vms-alpha.c (_bfd_vms_slurp_egsd): Ensure minimum size even
402 for "ignored" records.
403
0c0adcc5
AM
4042020-01-13 Alan Modra <amodra@gmail.com>
405
406 * wasm-module.c (wasm_scan_name_function_section): Formatting.
407 Delete asect name check. Move asect NULL check to wasm_object_p.
408 Correct bounds check of sizes against end. Replace uses of
409 bfd_zalloc with bfd_alloc, zeroing only necessary bytes. Use
410 just one bfd_release.
411 (wasm_scan): Don't use malloc/strdup for section names,
412 bfd_alloc instead. Simplify code prefixing section name.
413 Formatting. Don't attempt to free memory here..
414 (wasm_object_p): ..do so here.
415
7f026732
SN
4162020-01-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
417
418 PR ld/22269
419 * elf32-arm.c (elf32_arm_final_link_relocate): Use
420 UNDEFWEAK_NO_DYNAMIC_RELOC.
421 (allocate_dynrelocs_for_symbol): Likewise.
422
8cd0e5e9
TC
4232020-01-10 Tamar Christina <tamar.christina@arm.com>
424
425 PR 25210
426 * elfnn-aarch64.c (_bfd_aarch64_create_stub_section): Remove elfclass.
427
71780f45
AM
4282020-01-10 Alan Modra <amodra@gmail.com>
429
430 * coff-alpha.c (alpha_ecoff_object_p): Calculate size in bfd_size_type.
431
b899eb3b
NC
4322020-01-09 Nick Clifton <nickc@redhat.com>
433
434 PR 25221
435 * bfd.c (bfd_convert_section_contents): Check for a compress
436 header size that is larger than the actual section size.
437
4c6ee646
AM
4382020-01-08 Alan Modra <amodra@gmail.com>
439
440 PR 25351
441 * elflink.c (bfd_elf_final_link): Call _bfd_fix_excluded_sec_syms
442 after removing sections.
443
85f78364
JW
4442020-01-06 Jim Wilson <jimw@sifive.com>
445
446 PR 25205
447 * elfnn-riscv.c (riscv_elf_relocate_section) <R_RISCV_CALL>: Add
448 check for !bfd_link_pic (info).
449 <R_RISCV_CALL_PLT>: Move next to R_RISCV_CALL.
450 <R_RISCV_JAL>: Add comment.
451 (_bfd_riscv_relax_section): For plt.offset check, add check for
452 bfd_link_pic (info). Add comment.
453
49078ece
AM
4542020-01-06 Alan Modra <amodra@gmail.com>
455
456 * format.c (bfd_check_format_matches): Ignore bfd_error on target
457 match failures. Don't init to bfd_error_wrong_format before
458 calling _bfd_check_format.
459
ab356be7
AM
4602020-01-06 Alan Modra <amodra@gmail.com>
461
462 * vms-alpha.c (_bfd_vms_push, _bfd_vms_pop): Return pass/fail
463 status rather than exiting on stack overflow or underflow.
464 (_bfd_vms_slurp_etir): Adjust to suit.
465
85d86817
AM
4662020-01-06 Alan Modra <amodra@gmail.com>
467
468 * som.c (som_bfd_fill_in_ar_symbols): Bounds check som_dict index.
469
3e6aa775
AM
4702020-01-06 Alan Modra <amodra@gmail.com>
471
472 * mach-o.c (bfd_mach_o_read_dylinker): Don't read past end of
473 command. Check name offset is within command.
474 (bfd_mach_o_read_dylib, bfd_mach_o_read_prebound_dylib),
475 (bfd_mach_o_read_prebind_cksum, bfd_mach_o_read_twolevel_hints),
476 (bfd_mach_o_read_fvmlib, bfd_mach_o_read_dysymtab),
477 (bfd_mach_o_read_symtab, bfd_mach_o_read_uuid),
478 (bfd_mach_o_read_linkedit, bfd_mach_o_read_str),
479 (bfd_mach_o_read_dyld_info, bfd_mach_o_read_version_min),
480 (bfd_mach_o_read_encryption_info, bfd_mach_o_read_source_version),
481 (bfd_mach_o_read_encryption_info_64, bfd_mach_o_read_main),
482 (bfd_mach_o_read_note, bfd_mach_o_read_build_version),
483 (bfd_mach_o_read_segment): Similarly.
484 (bfd_mach_o_read_thread): Properly bound check thread struct.
485 Don't repeat checks on second loop.
486 (bfd_mach_o_read_command): Fail on invalid command length.
487
ea933f17
AM
4882020-01-04 Alan Modra <amodra@gmail.com>
489
490 * format.c (bfd_check_format_matches): Add preserve_match.
491 Save initial bfd state in "preserve", matched bfd state in
492 "preserve_match". Save just the first match. Release
493 bfd_alloc memory. Restore and finish preserved state as
494 appropriate on all function exit paths.
495
f24bdec4
AM
4962020-01-04 Alan Modra <amodra@gmail.com>
497
498 * mmo.c (mmo_mkobject): Allocate tdata with bfd_zalloc.
499
991fb595
AM
5002020-01-04 Alan Modra <amodra@gmail.com>
501
502 * coffgen.c (coff_real_object_p): Free malloc'd memory on target
503 match too.
504
f2a3559d
NC
5052020-01-03 Nick Clifton <nickc@redhat.com>
506
507 PR 25307
508 (bfd_pef_parse_function_stubs): Correct the test that ensures that
509 there is enough data remaining in the code buffer before
510 attempting to read a function stub.
511
7a0fb7be
NC
5122020-01-03 Nick Clifton <nickc@redhat.com>
513
514 PR 25308
515 * elf-properties.c (_bfd_elf_convert_gnu_properties): Check the
516 return value from bfd_malloc.
517 * elf32-arm.c (bfd_elf32_arm_vfp11_fix_veneer_locations): Likewise.
518 (bfd_elf32_arm_stm32l4xx_fix_veneer_locations): Likewise.
519 (elf32_arm_filter_cmse_symbols): Likewise.
520 (elf32_arm_write_section): Likewise.
521 * mach-o.c (bfd_mach_o_core_fetch_environment): Likewise.
522 (bfd_mach_o_follow_dsym): Likewise.
523 * pef.c (bfd_pef_print_loader_section): Likewise.
524 (bfd_pef_scan_start_address): Likewise.
525 (bfd_pef_parse_function_stubs): Likewise.
526 (bfd_pef_parse_symbols): Likewise.
527
b26a3d58
ST
5282020-01-03 Sergei Trofimovich <siarheit@google.com>
529
530 * elfnn-ia64.c (elfNN_ia64_merge_private_bfd_data): don't fail
531 on binary inputs ld/PR25316.
532 (is_ia64_elf): new helper to filter on ia64 objects.
533
4bb7a87e
JB
5342020-01-03 Jan Beulich <jbeulich@suse.com>
535
536 * mach-o.c (cpusubtype, bfd_mach_o_header_p): Insert underscore
537 in parameter names.
538 (bfd_mach_o_scan): Insert underscore in two variable names.
539
6655dba2
SB
5402020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
541
542 * Makefile.am: Add z80-elf target support.
543 * configure.ac: Likewise.
544 * targets.c: Likewise.
545 * Makefile.in: Regenerate.
546 * configure: Regenerate.
547 * config.bfd: Add z80-elf target support and new arches: ez80 and
548 z180.
549 * elf32-z80.c: New file.
550 * archures.c: Add new z80 architectures: eZ80 and Z180.
551 * coffcode.h: Likewise.
552 * cpu-z80.c: Likewise.
553 * coff-z80.c: Add new relocations for Z80 target and local label
554 check.
555 * reloc.c: Add new relocs.
556 * bfd-in2.h: Regenerate.
557 * libbfd.h: Regenerate.
558
0db131fb
TC
5592020-01-02 Tamar Christina <tamar.christina@arm.com>
560
561 PR 25210
562 PR 24753
563 * elfnn-aarch64.c (_bfd_aarch64_create_stub_section): Set ELF class.
564
b14ce8bf
AM
5652020-01-01 Alan Modra <amodra@gmail.com>
566
567 Update year range in copyright notice of all files.
568
0b114740 569For older changes see ChangeLog-2019
3499769a 570\f
0b114740 571Copyright (C) 2020 Free Software Foundation, Inc.
3499769a
AM
572
573Copying and distribution of this file, with or without modification,
574are permitted in any medium without royalty provided the copyright
575notice and this notice are preserved.
576
577Local Variables:
578mode: change-log
579left-margin: 8
580fill-column: 74
581version-control: never
582End: