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