da9260b10539a39c0ce3009270a814bed1cec426
[deliverable/binutils-gdb.git] / bfd / ChangeLog
1 2020-01-06 Jim Wilson <jimw@sifive.com>
2
3 PR 25205
4 * elfnn-riscv.c (riscv_elf_relocate_section) <R_RISCV_CALL>: Add
5 check for !bfd_link_pic (info).
6 <R_RISCV_CALL_PLT>: Move next to R_RISCV_CALL.
7 <R_RISCV_JAL>: Add comment.
8 (_bfd_riscv_relax_section): For plt.offset check, add check for
9 bfd_link_pic (info). Add comment.
10
11 2020-01-06 Alan Modra <amodra@gmail.com>
12
13 * format.c (bfd_check_format_matches): Ignore bfd_error on target
14 match failures. Don't init to bfd_error_wrong_format before
15 calling _bfd_check_format.
16
17 2020-01-06 Alan Modra <amodra@gmail.com>
18
19 * vms-alpha.c (_bfd_vms_push, _bfd_vms_pop): Return pass/fail
20 status rather than exiting on stack overflow or underflow.
21 (_bfd_vms_slurp_etir): Adjust to suit.
22
23 2020-01-06 Alan Modra <amodra@gmail.com>
24
25 * som.c (som_bfd_fill_in_ar_symbols): Bounds check som_dict index.
26
27 2020-01-06 Alan Modra <amodra@gmail.com>
28
29 * mach-o.c (bfd_mach_o_read_dylinker): Don't read past end of
30 command. Check name offset is within command.
31 (bfd_mach_o_read_dylib, bfd_mach_o_read_prebound_dylib),
32 (bfd_mach_o_read_prebind_cksum, bfd_mach_o_read_twolevel_hints),
33 (bfd_mach_o_read_fvmlib, bfd_mach_o_read_dysymtab),
34 (bfd_mach_o_read_symtab, bfd_mach_o_read_uuid),
35 (bfd_mach_o_read_linkedit, bfd_mach_o_read_str),
36 (bfd_mach_o_read_dyld_info, bfd_mach_o_read_version_min),
37 (bfd_mach_o_read_encryption_info, bfd_mach_o_read_source_version),
38 (bfd_mach_o_read_encryption_info_64, bfd_mach_o_read_main),
39 (bfd_mach_o_read_note, bfd_mach_o_read_build_version),
40 (bfd_mach_o_read_segment): Similarly.
41 (bfd_mach_o_read_thread): Properly bound check thread struct.
42 Don't repeat checks on second loop.
43 (bfd_mach_o_read_command): Fail on invalid command length.
44
45 2020-01-04 Alan Modra <amodra@gmail.com>
46
47 * format.c (bfd_check_format_matches): Add preserve_match.
48 Save initial bfd state in "preserve", matched bfd state in
49 "preserve_match". Save just the first match. Release
50 bfd_alloc memory. Restore and finish preserved state as
51 appropriate on all function exit paths.
52
53 2020-01-04 Alan Modra <amodra@gmail.com>
54
55 * mmo.c (mmo_mkobject): Allocate tdata with bfd_zalloc.
56
57 2020-01-04 Alan Modra <amodra@gmail.com>
58
59 * coffgen.c (coff_real_object_p): Free malloc'd memory on target
60 match too.
61
62 2020-01-03 Nick Clifton <nickc@redhat.com>
63
64 PR 25307
65 (bfd_pef_parse_function_stubs): Correct the test that ensures that
66 there is enough data remaining in the code buffer before
67 attempting to read a function stub.
68
69 2020-01-03 Nick Clifton <nickc@redhat.com>
70
71 PR 25308
72 * elf-properties.c (_bfd_elf_convert_gnu_properties): Check the
73 return value from bfd_malloc.
74 * elf32-arm.c (bfd_elf32_arm_vfp11_fix_veneer_locations): Likewise.
75 (bfd_elf32_arm_stm32l4xx_fix_veneer_locations): Likewise.
76 (elf32_arm_filter_cmse_symbols): Likewise.
77 (elf32_arm_write_section): Likewise.
78 * mach-o.c (bfd_mach_o_core_fetch_environment): Likewise.
79 (bfd_mach_o_follow_dsym): Likewise.
80 * pef.c (bfd_pef_print_loader_section): Likewise.
81 (bfd_pef_scan_start_address): Likewise.
82 (bfd_pef_parse_function_stubs): Likewise.
83 (bfd_pef_parse_symbols): Likewise.
84
85 2020-01-03 Sergei Trofimovich <siarheit@google.com>
86
87 * elfnn-ia64.c (elfNN_ia64_merge_private_bfd_data): don't fail
88 on binary inputs ld/PR25316.
89 (is_ia64_elf): new helper to filter on ia64 objects.
90
91 2020-01-03 Jan Beulich <jbeulich@suse.com>
92
93 * mach-o.c (cpusubtype, bfd_mach_o_header_p): Insert underscore
94 in parameter names.
95 (bfd_mach_o_scan): Insert underscore in two variable names.
96
97 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
98
99 * Makefile.am: Add z80-elf target support.
100 * configure.ac: Likewise.
101 * targets.c: Likewise.
102 * Makefile.in: Regenerate.
103 * configure: Regenerate.
104 * config.bfd: Add z80-elf target support and new arches: ez80 and
105 z180.
106 * elf32-z80.c: New file.
107 * archures.c: Add new z80 architectures: eZ80 and Z180.
108 * coffcode.h: Likewise.
109 * cpu-z80.c: Likewise.
110 * coff-z80.c: Add new relocations for Z80 target and local label
111 check.
112 * reloc.c: Add new relocs.
113 * bfd-in2.h: Regenerate.
114 * libbfd.h: Regenerate.
115
116 2020-01-02 Tamar Christina <tamar.christina@arm.com>
117
118 PR 25210
119 PR 24753
120 * elfnn-aarch64.c (_bfd_aarch64_create_stub_section): Set ELF class.
121
122 2020-01-01 Alan Modra <amodra@gmail.com>
123
124 Update year range in copyright notice of all files.
125
126 For older changes see ChangeLog-2019
127 \f
128 Copyright (C) 2020 Free Software Foundation, Inc.
129
130 Copying and distribution of this file, with or without modification,
131 are permitted in any medium without royalty provided the copyright
132 notice and this notice are preserved.
133
134 Local Variables:
135 mode: change-log
136 left-margin: 8
137 fill-column: 74
138 version-control: never
139 End:
This page took 0.031052 seconds and 3 git commands to generate.