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