]>
Commit | Line | Data |
---|---|---|
83d27139 SH |
1 | 2020-05-18 Stafford Horne <shorne@gmail.com> |
2 | ||
3 | * MAINTAINERS (OR1K): Add myself as maintainer. | |
4 | ||
d11a9fab AB |
5 | 2020-05-07 Andrew Burgess <andrew.burgess@embecosm.com> |
6 | ||
7 | * doc/binutils.texi: Mention 'entry address' in the set-start and | |
8 | adjust-start options descriptions. | |
9 | ||
546cb2d8 NC |
10 | 2020-05-05 Nick Clifton <nickc@redhat.com> |
11 | ||
12 | * dwarf.c (do_checks): New global variable. | |
13 | (display_formatted_table): Warn about an unexpected number of | |
14 | columns in the table, if checks are enabled. Do not complain | |
15 | about the lack of data following the number of entries in the | |
16 | table if the table is empty. | |
17 | (display_debug_lines_decoded): Only warn about an unexpected | |
18 | number of columns in a table if checks are enabled. | |
19 | * dwarf.h (do_checks): Add a prototype. | |
20 | * elfcomm.c (error): Remove weak attribute. | |
21 | (warn): Likewise. | |
22 | * readelf.c (do_checks): Delete. | |
23 | (warn): Delete. | |
24 | (process_section_headers): Only warn about empty sections if | |
25 | checks are enabled. | |
26 | ||
e052e2ba FS |
27 | 2020-05-04 Fangrui Song <maskray@google.com> |
28 | ||
29 | * objcopy.c (copy_object): Allow empty section. | |
30 | * testsuite/binutils-all/update-section.exp: Add test. | |
31 | ||
070b775f NC |
32 | 2020-05-04 Nick Clifton <nickc@redhat.com> |
33 | ||
34 | PR 25917 | |
35 | * dwarf.c (display_debug_lines_decoded): Warn if encountering a | |
36 | supicious number of entries for DWARF-5 format directory and file | |
37 | name tables. Do not display file name table header if the table | |
38 | is empty. Do not allocate space for empty tables. | |
39 | ||
9c7b8e9b AM |
40 | 2020-05-04 Alan Modra <amodra@gmail.com> |
41 | ||
42 | * readelf.c (process_nds32_specific): Check size of .nds32_e_flags | |
43 | section. Don't assume endian of host matches nds32 target. Free | |
44 | buffer. | |
45 | ||
60832332 AM |
46 | 2020-05-01 Alan Modra <amodra@gmail.com> |
47 | Haim Shimonovich <Haim.Shimonovich@ceva-dsp.com> | |
48 | ||
49 | * objdump.c (disassemble_bytes): Don't scan for zeros when | |
50 | disassembling zeros. Translate "resuming at file offset" message. | |
51 | Formatting. Replace some signed variables with unsigned. | |
52 | ||
09c1e68a AC |
53 | 2020-04-30 Alex Coplan <alex.coplan@arm.com> |
54 | ||
55 | * testsuite/binutils-all/aarch64/in-order-all.d: Update to use new | |
56 | disassembly. | |
57 | * testsuite/binutils-all/aarch64/out-of-order-all.d: Likewise. | |
58 | ||
8a8a1171 NC |
59 | 2020-04-30 Nick Clifton <nickc@redhat.com> |
60 | ||
61 | * testsuite/lib/binutils-common.exp (check_pie_support): New | |
62 | proc. | |
63 | ||
cb4c35cf AB |
64 | 2020-04-29 Andrew Burgess <andrew.burgess@embecosm.com> |
65 | ||
66 | * dwarf.c (display_debug_ranges): Ignore duplicate entries in | |
67 | range_entries for the same offset. | |
68 | ||
1b513401 NC |
69 | 2020-04-29 Nick Clifton <nickc@redhat.com> |
70 | ||
71 | * readelf.c (warn): New function - like elfcomm.c version but only | |
72 | produces output if warnings are enabled. | |
73 | (struct options): Add --lint and --enable-checks. | |
74 | (usage): Add entry for --lint. | |
75 | (parse_args): Handle -L. If checks are enabled but no dumps have | |
76 | been selected then enable all dumps. | |
77 | (process_section_headers): Replace long if-then-else sequence with | |
78 | a switch. Add warning messages for empty SHT_REL, SHT_RELA and | |
79 | SHT_PROGBITS sections. | |
80 | (process_file): Do not complain if the file is an archive and lint | |
81 | mode has been enabled. | |
82 | * elfcomm.c (error): Make the function weak. | |
83 | (warn): Likewise. | |
84 | * NEWS: Mention the new feature. | |
85 | * doc/binutils.texi: Document the new feature. | |
86 | * dwarf.h (report_leb_status): Add file name and line number | |
87 | parameters. Include them in the diagnostic output. | |
88 | (READ_ULEB): Pass file and line number to report_leb_status. | |
89 | (READ_SLEB): Likewise. | |
90 | * dwarf.c (read_and_print_leb128): Pass file and line number to | |
91 | report_leb_status. | |
92 | * testsuite/binutils-all/readelf.exp: Add test of new feature. | |
93 | * testsuite/binutils-all/zero-sec.s: New test source file. | |
94 | * testsuite/binutils-all/zero-sec.r: Expected output from new | |
95 | test. | |
96 | ||
c2e71e57 NC |
97 | 2020-04-29 Nick Clifton <nickc@redhat.com> |
98 | ||
99 | * po/sr.po: Updated Serbian translation. | |
100 | ||
90837ea7 AM |
101 | 2020-04-26 Alan Modra <amodra@gmail.com> |
102 | ||
103 | * readelf.c (get_num_dynamic_syms): Check DT_MIPS_XHASH was | |
104 | read before dereferencing, and gracefully return. Remove | |
105 | gnu_hash_error variable. Free gnu hash arrays if number of | |
106 | syms found is zero. | |
107 | ||
2482f306 AM |
108 | 2020-04-24 Alan Modra <amodra@gmail.com> |
109 | ||
110 | * readelf.c (get_num_dynamic_syms): Check for nbuckets and nchains | |
111 | non-zero. | |
112 | (process_dynamic_section): Call get_num_dynamic_syms once rather | |
113 | than in segment loop. Break out of segment loop on a successful | |
114 | load of dynamic symbols. Formatting. | |
115 | (process_object): Return error status from process_dynamic_section. | |
116 | ||
27456742 AK |
117 | 2020-04-23 Anton Kolesov <anton.kolesov@synopsys.com> |
118 | ||
119 | * elf-bfd.h (elfcore_write_arc_v2): Add prototype. | |
120 | * elf.c (elfcore_grok_arc_v2): New function. | |
121 | (elfcore_grok_note): Call the new function to handle the corresponding | |
122 | note. | |
123 | (elfcore_write_arc_v2): New function. | |
124 | (elfcore_write_register_note): Call the new function to handle the | |
125 | corresponding pseudo-sections. | |
126 | ||
30ce8e47 MF |
127 | 2020-04-22 Max Filippov <jcmvbkbc@gmail.com> |
128 | ||
129 | PR ld/25861 | |
130 | * readelf.c (is_none_reloc): Recognize | |
131 | BFD_RELOC_XTENSA_PDIFF{8,16,32} and | |
132 | BFD_RELOC_XTENSA_NDIFF{8,16,32}. | |
133 | ||
33b5a830 NC |
134 | 2020-04-22 Nick Clifton <nickc@redhat.com> |
135 | ||
136 | * MAINTAINERS: Remove Chris Faylor as the ix86 PE maintainer. | |
137 | ||
978c4450 AM |
138 | 2020-04-22 Alan Modra <amodra@gmail.com> |
139 | ||
140 | * readelf.c (archive_file_offset, archive_file_size, dynamic_addr), | |
141 | (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length), | |
142 | (num_dynamic_syms, nbuckets, nchains, buckets, chains), | |
143 | (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains), | |
144 | (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset), | |
145 | (dynamic_syminfo_nent, program_interpreter, dynamic_info), | |
146 | (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info), | |
147 | (dynamic_section, symtab_shndx_list, group_count, section_groups), | |
148 | (section_headers_groups): Move to struct filedata. Update use | |
149 | throughout file. | |
150 | ||
6431e409 AM |
151 | 2020-04-22 Alan Modra <amodra@gmail.com> |
152 | ||
153 | * readelf.c (struct dump_data): New, used.. | |
154 | (cmdline): ..here, and.. | |
155 | (struct filedata): ..here. Adjust all uses. | |
156 | (request_dump_bynumber, request_dump, parse_args): Pass in a | |
157 | struct dump_data* rather than Filedata*. Adjust callers. | |
158 | (main): Don't set cmdline.file_name. | |
159 | ||
a5e0be5c AM |
160 | 2020-04-20 Alan Modra <amodra@gmail.com> |
161 | ||
162 | * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets | |
163 | and nbuckets. | |
164 | ||
8ff66993 AM |
165 | 2020-04-20 Alan Modra <amodra@gmail.com> |
166 | ||
167 | * readelf.c (process_section_headers): Free dynamic symbols etc. | |
168 | earlier. | |
169 | ||
ceb9bf11 AM |
170 | 2020-04-20 Alan Modra <amodra@gmail.com> |
171 | ||
172 | * readelf.c (get_num_dynamic_syms): Formatting. Don't return | |
173 | on error without freeing. | |
174 | (process_dynamic_section): Don't recreate dynamic symbols from | |
175 | dynamic tag info when the dynamic symbols have already been | |
176 | read via section headers. | |
177 | ||
e409955d FS |
178 | 2020-04-17 Fredrik Strupe <fredrik@strupe.net> |
179 | ||
180 | * testsuite/binutils-all/arm/vdup-cond.d: New test for testing that | |
181 | conditional VDUP instructions are disassembled correctly. | |
182 | * testsuite/binutils-all/arm/vdup-cond.s: New file used by | |
183 | vdup-cond.d. | |
184 | * testsuite/binutils-all/arm/vdup-thumb.d: New test for testing | |
185 | that VDUP instructions (which are conditional in A32) can be | |
186 | disassembled in thumb mode. | |
187 | * testsuite/binutils-all/arm/vdup-cond.s: New file used by | |
188 | vdup-thumb.d. | |
189 | ||
ca3f923f AM |
190 | 2020-04-17 Alan Modra <amodra@gmail.com> |
191 | ||
192 | PR 25840 | |
193 | * debug.c (debug_class_type_samep): Don't segfault on NULL type. | |
194 | ||
937f6614 AM |
195 | 2020-04-16 Alan Modra <amodra@gmail.com> |
196 | ||
197 | * doc/binutils.texi: Mention --no-show-raw-insn in objdump | |
198 | --no-addresses description. | |
199 | ||
b1bc1394 AM |
200 | 2020-04-15 Alan Modra <amodra@gmail.com> |
201 | ||
202 | * objdump.c (no_addresses): New static var. | |
203 | (usage): Print help for --no-addresses. | |
204 | (long_options): Add --no-addresses entry. | |
205 | (objdump_print_addr_with_sym, objdump_print_addr): Omit symbol address. | |
206 | (disassemble_bytes): Don't print current line address, or reloc | |
207 | address. | |
208 | * doc/binutils.texi: Document objdump --no-addresses. | |
209 | ||
001890e1 AM |
210 | 2020-04-15 Alan Modra <amodra@gmail.com> |
211 | ||
212 | PR 25822 | |
213 | * readelf.c (get_num_dynamic_syms): Don't set num_of_syms when | |
214 | reading buckets or chains fails. | |
215 | ||
b71d4fa7 AM |
216 | 2020-04-15 Alan Modra <amodra@gmail.com> |
217 | ||
218 | * readelf.c (process_symbol_table): Zero gnubuckets, gnuchains | |
219 | etc. after freeing. | |
220 | ||
89246a0e AM |
221 | 2020-04-15 Alan Modra <amodra@gmail.com> |
222 | ||
223 | * readelf.c (get_group_flags): Translate text. | |
224 | (get_file_type, get_symbol_binding, get_symbol_type), | |
225 | (get_ppc64_symbol_other, get_symbol_other): Increase size of buffer. | |
226 | ||
c98a4545 AM |
227 | 2020-04-15 Alan Modra <amodra@gmail.com> |
228 | ||
229 | PR 25821 | |
230 | * readelf.c (get_num_dynamic_syms): Typo fix. | |
231 | ||
645f43a8 AM |
232 | 2020-04-14 Alan Modra <amodra@gmail.com> |
233 | ||
234 | * readelf.c (process_mips_specific): Free eopt and iopt. Avoid | |
235 | possibility of overflow when checking number of conflicts. | |
236 | ||
10ca4b04 L |
237 | 2020-04-14 H.J. Lu <hongjiu.lu@intel.com> |
238 | ||
239 | PR binutils/25707 | |
240 | * readelf.c (nbuckets): New. | |
241 | (nchains): Likewise. | |
242 | (buckets): Likewise. | |
243 | (chains): Likewise. | |
244 | (ngnubuckets): Likewise. | |
245 | (gnubuckets): Likewise. | |
246 | (gnuchains): Likewise. | |
247 | (mipsxlat): Likewise. | |
248 | (ngnuchains): Likewise. | |
249 | (gnusymidx): Likewise. | |
250 | (VALID_SYMBOL_NAME): Likewise. | |
251 | (VALID_DYNAMIC_NAME): Use it. | |
252 | (get_dynamic_data): Moved before process_dynamic_section. | |
253 | (get_num_dynamic_syms): New function. | |
254 | (process_dynamic_section): Use DT_SYMTAB, DT_SYMENT, DT_HASH, | |
255 | DT_GNU_HASH and DT_MIPS_XHASH to reconstruct dynamic symbol | |
256 | table. Use DT_STRTAB and DT_STRSZ to reconstruct dynamic string | |
257 | table. | |
258 | (get_symbol_index_type): Don't print "bad section index" when | |
259 | there is no section header. | |
260 | (print_dynamic_symbol): Rewrite. | |
261 | (process_symbol_table): Call print_dynamic_symbol to dump dynamic | |
262 | symbol table. | |
263 | ||
bb897477 RO |
264 | 2020-04-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
265 | ||
266 | * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Don't | |
267 | enable on *-*-solaris*. | |
268 | ||
00386881 NC |
269 | 2020-03-30 Nick Clifton <nickc@redhat.com> |
270 | ||
271 | PR binutils/25662 | |
272 | * objcopy.c (copy_object): When copying PE format files set the | |
273 | timestamp field in the pe_data structure if the preserve_dates | |
274 | flag is set. | |
275 | * testsuite/binutils-all/objcopy.exp (objcopy_test) Use | |
276 | --preserve-dates in place of the -p option, in order to make its | |
277 | effect more obvious. | |
278 | ||
0a6a8b59 AM |
279 | 2020-03-28 Alan Modra <amodra@gmail.com> |
280 | ||
281 | * testsuite/binutils-all/objcopy.exp (objcopy_test): Only | |
282 | clear_xfail hppa*-*-*elf*. Revert mips xfails. | |
283 | ||
6a81c59b AM |
284 | 2020-03-28 Alan Modra <amodra@gmail.com> |
285 | ||
286 | * testsuite/binutils-all/objcopy.exp (objcopy_test): Move xfails | |
287 | from here to calls. Remove "m8*-*-*" entry. Don't xfail tic54x | |
288 | but do xfail spu, mipstx39 and mips-sgi-irix for the executable | |
289 | test. Pass "-p" to objcopy for the executable test. | |
290 | ||
1fafefd5 JL |
291 | 2020-03-27 Jozef Lawrynowicz <jozef.l@mittosystems.com> |
292 | ||
293 | PR binutils/25662 | |
294 | * testsuite/binutils-all/objcopy.exp (objcopy_test): Add argument to | |
295 | specify whether an object file or executable should be built and tested. | |
296 | Change test names to report whether an object file or executable is | |
297 | being tested. | |
298 | * testsuite/binutils-all/pr25662.ld: New test. | |
299 | * testsuite/binutils-all/pr25662.s: New test. | |
300 | ||
80e2a3b6 AM |
301 | 2020-03-27 Alan Modra <amodra@gmail.com> |
302 | ||
303 | * readelf.c (process_archive): Don't double free qualified_name. | |
304 | Don't break out of loop with "negative" archive_file_size, just | |
305 | set file offset to max. | |
306 | ||
4c836627 AM |
307 | 2020-03-25 Alan Modra <amodra@gmail.com> |
308 | ||
309 | * readelf.c (process_archive): Prevent endless loop. | |
310 | ||
1081065c L |
311 | 2020-03-24 H.J. Lu <hongjiu.lu@intel.com> |
312 | ||
313 | PR binutils/25708 | |
314 | * nm.c (print_symname): Replace _bfd_elf_get_symbol_version_name | |
315 | with bfd_get_symbol_version_string. | |
316 | (print_symbo): Pass TRUE to bfd_get_symbol_version_string. | |
317 | * objdump.c (objdump_print_symname): Likewise. | |
318 | ||
7e6e972f L |
319 | 2020-03-24 H.J. Lu <hongjiu.lu@intel.com> |
320 | ||
321 | PR binutils/25708 | |
322 | * nm.c (SYM_NAME): Removed. | |
323 | (print_symname): Add a pointer to struct extended_symbol_info | |
324 | argument. Call _bfd_elf_get_symbol_version_name to get symbol | |
325 | version. | |
326 | (print_symdef_entry): Pass NULL to print_symname. | |
327 | (print_symbol_info_bsd): Update call to print_symname. | |
328 | (print_symbol_info_sysv): Likewise. | |
329 | (print_symbol_info_posix): Likewise. | |
330 | ||
5a814d6d AM |
331 | 2020-03-24 Alan Modra <amodra@gmail.com> |
332 | ||
333 | * readelf.c (process_mips_specific): Free iconf on error path. | |
334 | ||
0636b245 NC |
335 | 2020-03-23 Nick Clifton <nickc@redhat.com> |
336 | ||
337 | PR 25714 | |
338 | * wrstabs.c (stab_pop_type): Replace assertion with error return. | |
339 | * write_stabs_in_sections_debugging_info: Likewise. | |
340 | * stab_enum_type: Likewise. | |
341 | * stab_modify_type: Likewise. | |
342 | * stab_struct_field: Likewise. | |
343 | * stab_end_struct_type: Likewise. | |
344 | * stab_start_class_type: Likewise. | |
345 | * stab_class_static_member: Likewise. | |
346 | * stab_class_baseclass: Likewise. | |
347 | * stab_class_start_method: Likewise. | |
348 | * stab_class_method_var: Likewise. | |
349 | * stab_class_end_method: Likewise. | |
350 | * stab_end_class_type: Likewise. | |
351 | * stab_typedef_type: Likewise. | |
352 | * stab_start_function: Likewise. | |
353 | * stab_end_block: Likewise. | |
354 | * stab_lineno: Likewise. | |
355 | ||
5844b465 NC |
356 | 2020-03-20 Nick Clifton <nickc@redhat.com> |
357 | ||
358 | * readelf.c (get_compression_header): Add ATTRIBUTE_WARN_UNUSED_RESULT. | |
359 | (process_section_headers): Check the return value from | |
360 | get_compression_header. | |
361 | (dump_section_as_strings): Likewise. | |
362 | (dump_section_as_bytes): Likewise. | |
363 | (load_specific_debug_section): Likewise. | |
364 | ||
3d98c460 L |
365 | 2020-03-20 H.J. Lu <hongjiu.lu@intel.com> |
366 | ||
367 | * ar.c (main): Update bfd_plugin_set_program_name call. | |
368 | * nm.c (main): Likewise. | |
369 | ||
f3a08f77 NC |
370 | 2020-03-19 Nick Clifton <nickc@redhat.com> |
371 | ||
372 | PR 25676 | |
373 | * testsuite/binutils-all/dw4.s: New test source file. | |
374 | * testsuite/binutils-all/nm.exp: Run the new test. | |
375 | ||
ef3df110 L |
376 | 2020-03-19 H.J. Lu <hongjiu.lu@intel.com> |
377 | ||
378 | * readelf.c (process_symbol_table): Use unsigned long for si. | |
379 | ||
81a65eb3 AM |
380 | 2020-03-19 Alan Modra <amodra@gmail.com> |
381 | ||
382 | * elfcomm.c: Don't include bfd.h or bucomm.h. | |
383 | (program_name): Declare. | |
384 | (process_archive_index_and_symbols): Replace bfd_boolean with int, | |
385 | and substitute FALSE and TRUE. | |
386 | (setup_archive, setup_nested_archive): Likewise. | |
387 | * elfcomm.h: Likewise. | |
388 | ||
1cb7d8b1 AM |
389 | 2020-03-19 Alan Modra <amodra@gmail.com> |
390 | ||
391 | * readelf.c (process_archive): Always return via path freeing | |
392 | memory. Formatting. | |
393 | ||
b966f55f AM |
394 | 2020-03-19 Alan Modra <amodra@gmail.com> |
395 | ||
396 | * readelf.c (process_netbsd_elf_note): Validate descsz before | |
397 | accessing descdata. Formatting. | |
398 | ||
645ba681 AM |
399 | 2020-03-19 Alan Modra <amodra@gmail.com> |
400 | ||
401 | * elfcomm.c (setup_archive): Make file_size an off_t. Comment. | |
402 | * elfcomm.h (setup_archive): Update prototype. | |
403 | ||
28d13567 AM |
404 | 2020-03-16 Alan Modra <amodra@gmail.com> |
405 | ||
406 | * readelf.c (get_symbols): New function. | |
407 | (process_relocs, ia64_process_unwind, hppa_process_unwind), | |
408 | (arm_process_unwind, get_symbol_for_build_attribute): Use it. | |
409 | ||
60e63c3e AM |
410 | 2020-03-16 Alan Modra <amodra@gmail.com> |
411 | ||
412 | * unwind-ia64.c (unw_decode_uleb128): Prevent overlarge shifts. | |
413 | Detect shift overflows and check that terminating byte is found. | |
414 | Print an error on a bad uleb128. | |
415 | ||
1bd6175a AM |
416 | 2020-03-14 Alan Modra <amodra@gmail.com> |
417 | ||
418 | * readelf.c (process_file): Clean ba_cache. | |
419 | ||
780f96ae AM |
420 | 2020-03-14 Alan Modra <amodra@gmail.com> |
421 | ||
422 | * elfcomm.h (setup_archive): Update prototype. | |
423 | * elfcomm.c (setup_archive): Add file_size parameter and sanity | |
424 | check longnames_size. | |
425 | (setup_nested_archive): Get file size and pass to setup_archive. | |
426 | * elfedit.c (process_archive): Likewise. | |
427 | * readelf.c (process_archive): Pass filedata->file_size to | |
428 | setup_archive. | |
429 | ||
f761cb13 AM |
430 | 2020-03-14 Alan Modra <amodra@gmail.com> |
431 | ||
432 | * readelf.c (dump_section_as_strings): Free memory on error exit. | |
433 | (dump_section_as_bytes, process_notes_at): Likewise. | |
434 | (get_build_id): Free enote. | |
435 | ||
06d949ec KR |
436 | 2020-03-13 Kamil Rytarowski <n54@gmx.com> |
437 | ||
438 | * readelf.c (get_netbsd_elfcore_note_type): Add support for | |
439 | NT_NETBSDCORE_LWPSTATUS notes. | |
440 | ||
fd486f32 AM |
441 | 2020-03-13 Alan Modra <amodra@gmail.com> |
442 | ||
443 | * elfcomm.c (get_archive_member_name): Always return malloc'd | |
444 | string or NULL. | |
445 | * elfedit.c (process_archive): Tidy memory on all return paths. | |
446 | * readelf.c (process_archive): Likewise. | |
447 | (process_symbol_table): Likewise. | |
448 | (ba_cache): New, replacing .. | |
449 | (get_symbol_for_build_attribute): ..static vars here. Free | |
450 | strtab and symtab before loading new ones. Reject symtab without | |
451 | valid strtab in loop, breaking out of loop on valid symtab. | |
452 | (process_file): Free ba_cache symtab and strtab here, resetting | |
453 | ba_cache. | |
454 | ||
8fb879cd AM |
455 | 2020-03-12 Alan Modra <amodra@gmail.com> |
456 | ||
457 | * readelf.c (process_section_headers): Don't just set | |
458 | filedata->section_headers NULL, free it first. Similarly for | |
459 | dynamic_symbols, dynamic_strings, dynamic_syminfo and | |
460 | symtab_shndx_list. Zero associated counts too. | |
461 | (process_object): Free symtab_shndx_list. | |
462 | (process_file): Free various allocated filedata tables. | |
463 | ||
5496f3c6 NC |
464 | 2020-03-11 Nick Clifton <nickc@redhat.com> |
465 | ||
466 | PR 25611 | |
467 | PR 25614 | |
468 | * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and | |
469 | li_segment_size fields. | |
470 | * dwarf.c (read_debug_line_header): Record the address size and | |
471 | segment selector size values (if present) in the lineinfo | |
472 | structure. | |
473 | (display_formatted_table): Warn if the format count is empty but | |
474 | the table itself is not empty. | |
475 | Display the format count and entry count at the start of the table | |
476 | dump. | |
477 | (display_debug_lines_raw): Display the address size and segement | |
478 | selector size fields, if present. | |
479 | * testsuite/binutils-all/dw5.W: Update expected output. | |
480 | ||
9cc89dc0 AM |
481 | 2020-03-11 Alan Modra <amodra@gmail.com> |
482 | ||
483 | PR 25651 | |
484 | * objcopy.c (copy_object): Test "gaps" not gap_fill_set or | |
485 | pad_to_set on second block of code dealing with padding. | |
486 | Replace "c" with "num_sec" and don't recalculate number of | |
487 | sections on second block. Size arrays using sizeof (element) | |
488 | rather than sizeof (element type). | |
489 | ||
41da0822 AM |
490 | 2020-03-10 Alan Modra <amodra@gmail.com> |
491 | ||
492 | * objdump.c (disassemble_section): Don't call qsort unless | |
493 | sym count is at least two. | |
494 | (disassemble_data): Don't call memcpy with NULL src. | |
495 | ||
95099889 AM |
496 | 2020-03-09 Alan Modra <amodra@gmail.com> |
497 | ||
498 | PR 25645 | |
499 | * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb | |
500 | to get_data rather than multiplying. | |
501 | (dump_ia64_vms_dynamic_relocs): Likewise. | |
502 | (process_version_sections): Correct order of size and nmemb args | |
503 | in get_data call. | |
504 | (process_mips_specific): Likewise. | |
505 | ||
a15de1f5 L |
506 | 2020-03-08 H.J. Lu <hongjiu.lu@intel.com> |
507 | ||
508 | * readelf.c (get_dynamic_data): Replace "memory chekers" with | |
509 | "memory checkers" in comments. | |
510 | ||
9979ab66 SM |
511 | 2020-03-06 Simon Marchi <simon.marchi@efficios.com> |
512 | ||
513 | PR 25491 | |
514 | * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES. | |
515 | * doc/Makefile.in: Re-generate. | |
516 | ||
a0dcf297 NC |
517 | 2020-03-06 Nick Clifton <nickc@redhat.com> |
518 | ||
519 | * objcopy.c (check_new_section_flags): New function. Reject the | |
520 | SEC_COFF_SHARED flag if the target is not a COFF binary. | |
521 | (copy_object): Call check_new_section_flags. | |
522 | (setup_section): Likewise. | |
523 | * doc/binutils.texi (objcopy): Add a note that the 'share' section | |
524 | flag cannot be applied to ELF binaries. | |
525 | ||
a9b90127 AM |
526 | 2020-03-06 Alan Modra <amodra@gmail.com> |
527 | ||
528 | PR 25637 | |
529 | * objcopy.c (filter_symbols): Correct rem_leading_char logic. | |
530 | ||
d1faf7ca AM |
531 | 2020-03-05 Alan Modra <amodra@gmail.com> |
532 | ||
533 | PR 25629 | |
534 | * objcopy.c (filter_symbols): Don't segfault on NULL | |
535 | prefix_symbols_string. | |
536 | ||
eef64366 CE |
537 | 2020-03-04 Christian Eggers <ceggers@gmx.de> |
538 | ||
539 | * objcopy.c (copy_object): Convert from bytes to octets for | |
540 | --gap-fill and --pad-to. | |
541 | ||
5be2b2f5 NC |
542 | 2020-03-03 Nick Clifton <nickc@redhat.com> |
543 | ||
544 | PR 25625 | |
545 | * prdbg.c (pr_tag_type): Remove call to abort. | |
546 | ||
b312fea1 AM |
547 | 2020-03-02 Aaron Merey <amerey@redhat.com> |
548 | ||
549 | * binutils/testsuite/binutils-all/debuginfod.exp: Improve port | |
550 | selection. | |
551 | ||
ba3265d0 NC |
552 | 2020-03-02 Nick Clifton <nickc@redhat.com> |
553 | ||
554 | PR 25543 | |
555 | * readelf.c (dump_section_as_strings): Display new-line characters | |
556 | as \n and then insert a line break. | |
557 | * testsuite/binutils-all/pr25543.s: New test. | |
558 | * testsuite/binutils-all/pr25543.d: Test driver. | |
559 | * testsuite/binutils-all/readelf.exp: Run the new test. | |
560 | ||
736990c4 NC |
561 | 2020-02-27 Nick Clifton <nickc@redhat.com> |
562 | ||
563 | PR 25526 | |
564 | * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if | |
565 | get_data is unable to load the string table. | |
566 | ||
dc1e8a47 AM |
567 | 2020-02-26 Alan Modra <amodra@gmail.com> |
568 | ||
569 | * elfedit.c: Indent labels correctly. | |
570 | * readelf.c: Likewise. | |
571 | * resres.c: Likewise. | |
572 | ||
ecda9016 L |
573 | 2020-02-25 H.J. Lu <hongjiu.lu@intel.com> |
574 | ||
575 | PR binutils/25584 | |
576 | * ar.c (main): Pass 0 to bfd_plugin_set_program_name. | |
577 | * nm.c (main): Pass 1 to bfd_plugin_set_program_name. | |
578 | ||
83d4d556 NC |
579 | 2020-02-24 Nick Clifton <nickc@redhat.com> |
580 | ||
581 | PR 25499 | |
582 | * doc/binutils.texi (objdump): Fix typo in description of | |
583 | objdump's -g option. | |
584 | ||
bd0cf5a6 NC |
585 | 2020-02-20 Nelson Chu <nelson.chu@sifive.com> |
586 | ||
587 | * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR | |
588 | is changed. | |
589 | ||
741cb839 EC |
590 | 2020-02-19 Jordan Rupprecht <rupprecht@google.com> |
591 | ||
592 | * objdump.c (show_line): call bfd_demangle when using do_demangle. | |
593 | ||
9f1528a1 AB |
594 | 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com> |
595 | ||
596 | * configure: Regenerate. | |
597 | ||
3a5d12fb FS |
598 | 2020-02-10 Fangrui Song <maskray@google.com> |
599 | ||
600 | * objcopy.c (parse_flags): Handle "exclude". | |
601 | * doc/binutils.texi: Document the support. | |
602 | ||
678d457f AM |
603 | 2020-02-10 Aaron Merey <amerey@redhat.com> |
604 | ||
605 | * binutils/testsuite/binutils-all/debuginfod.exp: | |
606 | Replace set ::env with setenv. | |
46471187 AM |
607 | Start server before setting environment variable. |
608 | Specify tmpdir as the location of the server's | |
609 | database. | |
610 | Check additional server metrics at start-up. | |
678d457f | 611 | |
e8319fde NC |
612 | 2020-02-07 Nick Clifton <nickc@redhat.com> |
613 | ||
614 | * README-how-to-make-a-release: Add note about updating the | |
615 | GAS/NEWS URL in the next release. | |
616 | ||
9fc0b501 SB |
617 | 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com> |
618 | ||
619 | PR 25469 | |
620 | * readelf.c (get_machine_flags): Add support for Z80N machine | |
621 | number. | |
622 | ||
e1104d08 NC |
623 | 2020-02-07 Nick Clifton <nickc@redhat.com> |
624 | ||
625 | * dwarf.c (display_debug_lines_decoded): Force a NUL termination | |
626 | of the truncated file name. | |
627 | ||
c2e6f744 | 628 | 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com> |
ece12829 TT |
629 | |
630 | * objdump.c (print_jump_visualisation): New function. | |
631 | (disassemble_bytes): Call new function. | |
632 | ||
02e0be69 AM |
633 | 2020-02-06 Alan Modra <amodra@gmail.com> |
634 | ||
635 | * testsuite/lib/binutils-common.exp (match_target): Accept '!' before | |
636 | TCL procedure. | |
637 | (supports_gnu_osabi): New procedure. | |
638 | (is_generic): New, from ld-lib.exp. | |
639 | (supports_gnu_unique): Use the above. | |
640 | ||
e8b79122 AM |
641 | 2020-02-04 Alan Modra <amodra@gmail.com> |
642 | ||
643 | * Makefile.am (CFILES): Add od-elf32_avr.c. | |
644 | * Makefile.in: Regenerate. | |
645 | * po/POTFILES.in: Regenerate. | |
646 | ||
27a45f42 AS |
647 | 2020-02-03 Andreas Schwab <schwab@linux-m68k.org> |
648 | ||
649 | * readelf.c (dump_relocations, dump_relocations) | |
650 | (decode_arm_unwind_bytecode, process_dynamic_section) | |
651 | (get_symbol_visibility, get_alpha_symbol_other): Add newline to | |
652 | error message. | |
653 | ||
0b398d69 ST |
654 | 2020-02-03 Sergei Trofimovich <siarheit@google.com> |
655 | ||
656 | * coffdump.c (program_name): Drop redundant definition. | |
657 | * srconv.c (program_name): Likewise | |
658 | * sysdump.c (program_name): Likewise | |
659 | ||
a8c4d40b L |
660 | 2020-02-02 H.J. Lu <hongjiu.lu@intel.com> |
661 | ||
662 | PR gas/25380 | |
663 | * objdump.c (sym_ok): Return FALSE if 2 sections are in the | |
664 | same file with different section pointers. | |
665 | ||
cb6ad9bb NC |
666 | 2020-02-01 Nick Clifton <nickc@redhat.com> |
667 | ||
668 | * README-how-to-make-a-release: Update with more details on the | |
669 | release making process. | |
670 | ||
53943f32 NC |
671 | 2020-01-31 Nick Clifton <nickc@redhat.com> |
672 | ||
673 | * po/sv.po: Updated Swedish translation. | |
674 | ||
55be8fd0 NC |
675 | 2020-01-28 Nick Clifton <nickc@redhat.com> |
676 | ||
677 | * readelf.c (get_build_id): Simplify warning message about corrupt | |
678 | notes encountered whilst scanning for the build-id. | |
679 | ||
82ef9cad RM |
680 | 2020-01-27 Roland McGrath <mcgrathr@google.com> |
681 | ||
682 | * objcopy.c (compare_gnu_build_notes): Fix comparison results | |
683 | for overlapping ranges so that (A == B) == (B == A) holds. | |
684 | ||
e3696f67 AM |
685 | 2020-01-27 Alan Modra <amodra@gmail.com> |
686 | ||
687 | * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace | |
688 | case statement with switch statement. | |
689 | ||
2f796de6 NC |
690 | 2020-01-24 Nick Clifton <nickc@redhat.com> |
691 | ||
692 | * readelf.c (get_build_id): Fix warning messages about corrupt | |
693 | notes. | |
694 | ||
24e648d4 NC |
695 | 2020-01-23 Nick Clifton <nickc@redhat.com> |
696 | ||
697 | * po/fr.po: Updated French translation. | |
698 | ||
c48acf6f YC |
699 | 2020-01-22 Yuri Chornoivan <yurchor@mageia.org> |
700 | ||
701 | PR 25417 | |
702 | * readelf.c (get_alpha_symbol_other): Fix error message typo. | |
703 | ||
26916852 NC |
704 | 2020-01-20 Nick Clifton <nickc@redhat.com> |
705 | ||
706 | * po/pt.po: Updated Portuguese translation. | |
707 | * po/uk.po: Updated Ukranian translation. | |
708 | ||
b248e9ce NC |
709 | 2020-01-18 Nick Clifton <nickc@redhat.com> |
710 | ||
711 | * README-how-to-make-a-release: Update notes on how to cut a | |
712 | branch for a release. | |
713 | ||
1b1bb2c6 NC |
714 | 2020-01-18 Nick Clifton <nickc@redhat.com> |
715 | ||
716 | * configure: Regenerate. | |
717 | * po/binutils.pot: Regenerate. | |
718 | ||
ae774686 NC |
719 | 2020-01-18 Nick Clifton <nickc@redhat.com> |
720 | ||
721 | Binutils 2.34 branch created. | |
722 | ||
82a9ed20 TT |
723 | 2020-01-17 Thomas Troeger <tstroege@gmx.de> |
724 | ||
725 | * objdump.c (jump_info_visualize_address): Discard jumps that are | |
726 | no longer needed. | |
727 | (disassemble_bytes): Only compute the maximum level if jumps were | |
728 | detected. | |
729 | ||
6a1939f5 NC |
730 | 2020-01-13 Nick Clifton <nickc@redhat.com> |
731 | ||
c87c17c1 | 732 | * objdump.c (disassemble_bytes): Remove C99-ism. |
6a1939f5 NC |
733 | * testsuite/binutils-all/debuginfod.exp: New tests. |
734 | ||
1d67fe3b TT |
735 | 2020-01-13 Thomas Troeger <tstroege@gmx.de> |
736 | ||
737 | * objdump.c (visualize_jumps, color_output, extended_color_output) | |
738 | (detected_jumps): New variables. | |
739 | (usage): Add the new jump visualization options. | |
740 | (option_values): Add new option value. | |
741 | (long_options): Add the new option. | |
742 | (jump_info_new, jump_info_free): New functions. | |
743 | (jump_info_min_address, jump_info_max_address): Likewise. | |
744 | (jump_info_end_address, jump_info_is_start_address): Likewise. | |
745 | (jump_info_is_end_address, jump_info_size): Likewise. | |
746 | (jump_info_unlink, jump_info_insert): Likewise. | |
747 | (jump_info_add_front, jump_info_move_linked): Likewise. | |
748 | (jump_info_intersect, jump_info_merge): Likewise. | |
749 | (jump_info_sort, jump_info_visualize_address): Likewise. | |
750 | (disassemble_jumps): New function - used to locate jumps. | |
751 | (disassemble_bytes): Add ascii art generation. | |
752 | (disassemble_section): Add scan to locate jumps. | |
753 | (main): Parse the new visualization option. | |
754 | * doc/binutils.texi: Document the new feature. | |
755 | * NEWS: Mention the new feature. | |
756 | ||
a788aedd AM |
757 | 2020-01-13 Alan Modra <amodra@gmail.com> |
758 | ||
a4f2b7c5 AM |
759 | PR 25360 |
760 | PR 25361 | |
a788aedd AM |
761 | * dwarf.c (display_debug_frames): Move fde_fc earlier. Free |
762 | fde_fc col_type and col_offset. | |
763 | * readelf.c (apply_relocations): Move symsec check earlier. | |
764 | (free_debug_section): Free reloc_info. | |
765 | (process_notes_at): Free pnotes on error path. | |
766 | (process_object): Free dump_sects here.. | |
767 | (process_archive): ..not here. | |
768 | ||
805f38bc AM |
769 | 2020-01-13 Alan Modra <amodra@gmail.com> |
770 | ||
771 | PR 25362 | |
772 | * nm.c (display_rel_file): Free dyn_syms. | |
773 | ||
ffebb0bb NC |
774 | 2020-01-09 Nick Clifton <nickc@redhat.com> |
775 | ||
776 | PR 25220 | |
777 | * objcopy.c (empty_name): New variable. | |
778 | (need_sym_before): Prevent an attempt to free a static variable. | |
779 | (filter_symbols): Avoid strcmp test by checking for pointer | |
780 | equality. | |
781 | ||
ade4fd9b NC |
782 | 2020-01-09 Nick Clifton <nickc@redhat.com> |
783 | ||
784 | * po/zh_TW.po: Updated Traditional Chinese translation. | |
785 | ||
786 | 2020-01-09 Aaron Merey <amerey@redhat.com> | |
787 | ||
788 | * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod. | |
789 | * Makefile.in: Regenerate. | |
790 | * NEWS: Update. | |
791 | * config.in: Regenerate. | |
792 | * configure: Regenerate. | |
793 | * configure.ac: Call AC_DEBUGINFOD. | |
794 | * doc/Makefile.in: Regenerate. | |
795 | * doc/binutils.texi: Add section on using binutils | |
796 | with debuginfod. | |
797 | * dwarf.c (debuginfod_fetch_separate_debug_info): New function. | |
798 | Query debuginfod servers for the target debug file. | |
799 | (load_separate_debug_info): Call | |
800 | debuginfod_fetch_separate_debug_info if configured with | |
801 | debuginfod. | |
802 | (load_separate_debug_files): Add file argument to | |
803 | load_separate_debug_info calls. | |
804 | * dwarf.h (get_build_id): Add declaration. | |
805 | * objdump.c (get_build_id): New function. Get build-id of file. | |
806 | * readelf.c (get_build_id): Likewise. | |
807 | * testsuite/binutils-all/debuginfod.exp: New tests. | |
808 | * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id | |
809 | section. | |
810 | ||
6655dba2 SB |
811 | 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com> |
812 | ||
813 | * readelf.c: Add support for new Z*) relocations and machine | |
814 | types. | |
815 | ||
b14ce8bf AM |
816 | 2020-01-01 Alan Modra <amodra@gmail.com> |
817 | ||
818 | Update year range in copyright notice of all files. | |
819 | ||
0b114740 | 820 | For older changes see ChangeLog-2019 |
3499769a | 821 | \f |
0b114740 | 822 | Copyright (C) 2020 Free Software Foundation, Inc. |
3499769a AM |
823 | |
824 | Copying and distribution of this file, with or without modification, | |
825 | are permitted in any medium without royalty provided the copyright | |
826 | notice and this notice are preserved. | |
827 | ||
828 | Local Variables: | |
829 | mode: change-log | |
830 | left-margin: 8 | |
831 | fill-column: 74 | |
832 | version-control: never | |
833 | End: |