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