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