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