]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - bfd/ChangeLog
Set version to 2.34, turn off development, add changelog entries
[thirdparty/binutils-gdb.git] / bfd / ChangeLog
1 2020-02-01 Nick Clifton <nickc@redhat.com>
2
3 Binutils 2.34 release.
4
5 2020-01-29 Alan Modra <amodra@gmail.com>
6
7 Apply from master
8 2020-01-27 H.J. Lu <hongjiu.lu@intel.com>
9 Alan Modra <amodra@gmail.com>
10 PR ld/25458
11 * elflink.c (_bfd_elf_gc_mark_rsec): Mark all weak aliases.
12
13 2020-01-23 Alan Modra <amodra@gmail.com>
14 PR 25444
15 * elf.c (assign_file_positions_for_load_sections): Avoid divide
16 by zero when p_align is zero.
17
18 2020-01-22 Alan Modra <amodra@gmail.com>
19 * elf64-ppc.c (ppc64_elf_size_stubs): Correct condition under
20 which __tls_get_addr calls will be eliminated.
21
22 2020-01-23 Nick Clifton <nickc@redhat.com>
23
24 * po/fr.po: Updated French translation.
25
26 2020-01-20 Nick Clifton <nickc@redhat.com>
27
28 * po/pt.po: Updates Portuguese translation.
29 * po/ru.po: Updated Russian translation.
30 * po/uk.po: Updated Ukranian translation.
31
32 2020-01-18 Nick Clifton <nickc@redhat.com>
33
34 * version.m4 (BFD_VERSION): Set to 2.33.90.
35 * configure: Regenerate.
36 * po/bfd.pot: Regenerate.
37
38 2020-01-18 Nick Clifton <nickc@redhat.com>
39
40 Binutils 2.34 branch created.
41
42 2020-01-17 Christian Biesinger <cbiesinger@google.com>
43
44 * coff-arm.c: Fix spelling error (seperate).
45 * elfxx-riscv.c (riscv_parse_sv_or_non_std_ext): Fix spelling
46 error (seperate).
47 * sysdep.h (strnlen): Fix spelling error (seperate).
48
49 2020-01-15 Lars Brinkhoff <lars@nocrew.org>
50
51 PR 20694
52 * pdp11.c (TARGET_PAGE_SIZE): Set to 8192.
53
54 2020-01-15 Alan Modra <amodra@gmail.com>
55
56 PR 25384
57 * elf64-ppc.c (ELIMINATE_COPY_RELOCS): Update comment.
58 (ppc64_elf_adjust_dynamic_symbol): Don't allow .dynbss copies
59 of function symbols unless dot symbols are present. Do warn
60 whenever one is created, regardles of whether a PLT entry is
61 also emitted for the function symbol.
62
63 2020-01-14 Alan Modra <amodra@gmail.com>
64
65 * som.c (som_bfd_count_ar_symbols): Error when file position
66 of symbols on chains is not strictly increasing.
67
68 2020-01-14 Alan Modra <amodra@gmail.com>
69
70 * vms.h (VMS_DEBUG): Define as 0.
71 * vms-alpha.c (image_write): Move debug output after bounds check.
72 Tidy bounds check.
73 (_bfd_vms_slurp_eihd): Warning fix.
74 (_bfd_vms_slurp_etir): Init variables to avoid bogus warnings.
75
76 2020-01-13 Alan Modra <amodra@gmail.com>
77
78 * vms-alpha.c (_bfd_vms_slurp_egsd): Ensure minimum size even
79 for "ignored" records.
80
81 2020-01-13 Alan Modra <amodra@gmail.com>
82
83 * wasm-module.c (wasm_scan_name_function_section): Formatting.
84 Delete asect name check. Move asect NULL check to wasm_object_p.
85 Correct bounds check of sizes against end. Replace uses of
86 bfd_zalloc with bfd_alloc, zeroing only necessary bytes. Use
87 just one bfd_release.
88 (wasm_scan): Don't use malloc/strdup for section names,
89 bfd_alloc instead. Simplify code prefixing section name.
90 Formatting. Don't attempt to free memory here..
91 (wasm_object_p): ..do so here.
92
93 2020-01-10 Szabolcs Nagy <szabolcs.nagy@arm.com>
94
95 PR ld/22269
96 * elf32-arm.c (elf32_arm_final_link_relocate): Use
97 UNDEFWEAK_NO_DYNAMIC_RELOC.
98 (allocate_dynrelocs_for_symbol): Likewise.
99
100 2020-01-10 Tamar Christina <tamar.christina@arm.com>
101
102 PR 25210
103 * elfnn-aarch64.c (_bfd_aarch64_create_stub_section): Remove elfclass.
104
105 2020-01-10 Alan Modra <amodra@gmail.com>
106
107 * coff-alpha.c (alpha_ecoff_object_p): Calculate size in bfd_size_type.
108
109 2020-01-09 Nick Clifton <nickc@redhat.com>
110
111 PR 25221
112 * bfd.c (bfd_convert_section_contents): Check for a compress
113 header size that is larger than the actual section size.
114
115 2020-01-08 Alan Modra <amodra@gmail.com>
116
117 PR 25351
118 * elflink.c (bfd_elf_final_link): Call _bfd_fix_excluded_sec_syms
119 after removing sections.
120
121 2020-01-06 Jim Wilson <jimw@sifive.com>
122
123 PR 25205
124 * elfnn-riscv.c (riscv_elf_relocate_section) <R_RISCV_CALL>: Add
125 check for !bfd_link_pic (info).
126 <R_RISCV_CALL_PLT>: Move next to R_RISCV_CALL.
127 <R_RISCV_JAL>: Add comment.
128 (_bfd_riscv_relax_section): For plt.offset check, add check for
129 bfd_link_pic (info). Add comment.
130
131 2020-01-06 Alan Modra <amodra@gmail.com>
132
133 * format.c (bfd_check_format_matches): Ignore bfd_error on target
134 match failures. Don't init to bfd_error_wrong_format before
135 calling _bfd_check_format.
136
137 2020-01-06 Alan Modra <amodra@gmail.com>
138
139 * vms-alpha.c (_bfd_vms_push, _bfd_vms_pop): Return pass/fail
140 status rather than exiting on stack overflow or underflow.
141 (_bfd_vms_slurp_etir): Adjust to suit.
142
143 2020-01-06 Alan Modra <amodra@gmail.com>
144
145 * som.c (som_bfd_fill_in_ar_symbols): Bounds check som_dict index.
146
147 2020-01-06 Alan Modra <amodra@gmail.com>
148
149 * mach-o.c (bfd_mach_o_read_dylinker): Don't read past end of
150 command. Check name offset is within command.
151 (bfd_mach_o_read_dylib, bfd_mach_o_read_prebound_dylib),
152 (bfd_mach_o_read_prebind_cksum, bfd_mach_o_read_twolevel_hints),
153 (bfd_mach_o_read_fvmlib, bfd_mach_o_read_dysymtab),
154 (bfd_mach_o_read_symtab, bfd_mach_o_read_uuid),
155 (bfd_mach_o_read_linkedit, bfd_mach_o_read_str),
156 (bfd_mach_o_read_dyld_info, bfd_mach_o_read_version_min),
157 (bfd_mach_o_read_encryption_info, bfd_mach_o_read_source_version),
158 (bfd_mach_o_read_encryption_info_64, bfd_mach_o_read_main),
159 (bfd_mach_o_read_note, bfd_mach_o_read_build_version),
160 (bfd_mach_o_read_segment): Similarly.
161 (bfd_mach_o_read_thread): Properly bound check thread struct.
162 Don't repeat checks on second loop.
163 (bfd_mach_o_read_command): Fail on invalid command length.
164
165 2020-01-04 Alan Modra <amodra@gmail.com>
166
167 * format.c (bfd_check_format_matches): Add preserve_match.
168 Save initial bfd state in "preserve", matched bfd state in
169 "preserve_match". Save just the first match. Release
170 bfd_alloc memory. Restore and finish preserved state as
171 appropriate on all function exit paths.
172
173 2020-01-04 Alan Modra <amodra@gmail.com>
174
175 * mmo.c (mmo_mkobject): Allocate tdata with bfd_zalloc.
176
177 2020-01-04 Alan Modra <amodra@gmail.com>
178
179 * coffgen.c (coff_real_object_p): Free malloc'd memory on target
180 match too.
181
182 2020-01-03 Nick Clifton <nickc@redhat.com>
183
184 PR 25307
185 (bfd_pef_parse_function_stubs): Correct the test that ensures that
186 there is enough data remaining in the code buffer before
187 attempting to read a function stub.
188
189 2020-01-03 Nick Clifton <nickc@redhat.com>
190
191 PR 25308
192 * elf-properties.c (_bfd_elf_convert_gnu_properties): Check the
193 return value from bfd_malloc.
194 * elf32-arm.c (bfd_elf32_arm_vfp11_fix_veneer_locations): Likewise.
195 (bfd_elf32_arm_stm32l4xx_fix_veneer_locations): Likewise.
196 (elf32_arm_filter_cmse_symbols): Likewise.
197 (elf32_arm_write_section): Likewise.
198 * mach-o.c (bfd_mach_o_core_fetch_environment): Likewise.
199 (bfd_mach_o_follow_dsym): Likewise.
200 * pef.c (bfd_pef_print_loader_section): Likewise.
201 (bfd_pef_scan_start_address): Likewise.
202 (bfd_pef_parse_function_stubs): Likewise.
203 (bfd_pef_parse_symbols): Likewise.
204
205 2020-01-03 Sergei Trofimovich <siarheit@google.com>
206
207 * elfnn-ia64.c (elfNN_ia64_merge_private_bfd_data): don't fail
208 on binary inputs ld/PR25316.
209 (is_ia64_elf): new helper to filter on ia64 objects.
210
211 2020-01-03 Jan Beulich <jbeulich@suse.com>
212
213 * mach-o.c (cpusubtype, bfd_mach_o_header_p): Insert underscore
214 in parameter names.
215 (bfd_mach_o_scan): Insert underscore in two variable names.
216
217 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
218
219 * Makefile.am: Add z80-elf target support.
220 * configure.ac: Likewise.
221 * targets.c: Likewise.
222 * Makefile.in: Regenerate.
223 * configure: Regenerate.
224 * config.bfd: Add z80-elf target support and new arches: ez80 and
225 z180.
226 * elf32-z80.c: New file.
227 * archures.c: Add new z80 architectures: eZ80 and Z180.
228 * coffcode.h: Likewise.
229 * cpu-z80.c: Likewise.
230 * coff-z80.c: Add new relocations for Z80 target and local label
231 check.
232 * reloc.c: Add new relocs.
233 * bfd-in2.h: Regenerate.
234 * libbfd.h: Regenerate.
235
236 2020-01-02 Tamar Christina <tamar.christina@arm.com>
237
238 PR 25210
239 PR 24753
240 * elfnn-aarch64.c (_bfd_aarch64_create_stub_section): Set ELF class.
241
242 2020-01-01 Alan Modra <amodra@gmail.com>
243
244 Update year range in copyright notice of all files.
245
246 For older changes see ChangeLog-2019
247 \f
248 Copyright (C) 2020 Free Software Foundation, Inc.
249
250 Copying and distribution of this file, with or without modification,
251 are permitted in any medium without royalty provided the copyright
252 notice and this notice are preserved.
253
254 Local Variables:
255 mode: change-log
256 left-margin: 8
257 fill-column: 74
258 version-control: never
259 End: