1 2020-03-11 Nick Clifton <nickc@redhat.com>
5 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
6 li_segment_size fields.
7 * dwarf.c (read_debug_line_header): Record the address size and
8 segment selector size values (if present) in the lineinfo
10 (display_formatted_table): Warn if the format count is empty but
11 the table itself is not empty.
12 Display the format count and entry count at the start of the table
14 (display_debug_lines_raw): Display the address size and segement
15 selector size fields, if present.
16 * testsuite/binutils-all/dw5.W: Update expected output.
18 2020-03-11 Alan Modra <amodra@gmail.com>
21 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
22 pad_to_set on second block of code dealing with padding.
23 Replace "c" with "num_sec" and don't recalculate number of
24 sections on second block. Size arrays using sizeof (element)
25 rather than sizeof (element type).
27 2020-03-10 Alan Modra <amodra@gmail.com>
29 * objdump.c (disassemble_section): Don't call qsort unless
30 sym count is at least two.
31 (disassemble_data): Don't call memcpy with NULL src.
33 2020-03-09 Alan Modra <amodra@gmail.com>
36 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
37 to get_data rather than multiplying.
38 (dump_ia64_vms_dynamic_relocs): Likewise.
39 (process_version_sections): Correct order of size and nmemb args
41 (process_mips_specific): Likewise.
43 2020-03-08 H.J. Lu <hongjiu.lu@intel.com>
45 * readelf.c (get_dynamic_data): Replace "memory chekers" with
46 "memory checkers" in comments.
48 2020-03-06 Simon Marchi <simon.marchi@efficios.com>
51 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
52 * doc/Makefile.in: Re-generate.
54 2020-03-06 Nick Clifton <nickc@redhat.com>
56 * objcopy.c (check_new_section_flags): New function. Reject the
57 SEC_COFF_SHARED flag if the target is not a COFF binary.
58 (copy_object): Call check_new_section_flags.
59 (setup_section): Likewise.
60 * doc/binutils.texi (objcopy): Add a note that the 'share' section
61 flag cannot be applied to ELF binaries.
63 2020-03-06 Alan Modra <amodra@gmail.com>
66 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
68 2020-03-05 Alan Modra <amodra@gmail.com>
71 * objcopy.c (filter_symbols): Don't segfault on NULL
72 prefix_symbols_string.
74 2020-03-04 Christian Eggers <ceggers@gmx.de>
76 * objcopy.c (copy_object): Convert from bytes to octets for
77 --gap-fill and --pad-to.
79 2020-03-03 Nick Clifton <nickc@redhat.com>
82 * prdbg.c (pr_tag_type): Remove call to abort.
84 2020-03-02 Aaron Merey <amerey@redhat.com>
86 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
89 2020-03-02 Nick Clifton <nickc@redhat.com>
92 * readelf.c (dump_section_as_strings): Display new-line characters
93 as \n and then insert a line break.
94 * testsuite/binutils-all/pr25543.s: New test.
95 * testsuite/binutils-all/pr25543.d: Test driver.
96 * testsuite/binutils-all/readelf.exp: Run the new test.
98 2020-02-27 Nick Clifton <nickc@redhat.com>
101 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
102 get_data is unable to load the string table.
104 2020-02-26 Alan Modra <amodra@gmail.com>
106 * elfedit.c: Indent labels correctly.
107 * readelf.c: Likewise.
108 * resres.c: Likewise.
110 2020-02-25 H.J. Lu <hongjiu.lu@intel.com>
113 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
114 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
116 2020-02-24 Nick Clifton <nickc@redhat.com>
119 * doc/binutils.texi (objdump): Fix typo in description of
122 2020-02-20 Nelson Chu <nelson.chu@sifive.com>
124 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
127 2020-02-19 Jordan Rupprecht <rupprecht@google.com>
129 * objdump.c (show_line): call bfd_demangle when using do_demangle.
131 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
133 * configure: Regenerate.
135 2020-02-10 Fangrui Song <maskray@google.com>
137 * objcopy.c (parse_flags): Handle "exclude".
138 * doc/binutils.texi: Document the support.
140 2020-02-10 Aaron Merey <amerey@redhat.com>
142 * binutils/testsuite/binutils-all/debuginfod.exp:
143 Replace set ::env with setenv.
144 Start server before setting environment variable.
145 Specify tmpdir as the location of the server's
147 Check additional server metrics at start-up.
149 2020-02-07 Nick Clifton <nickc@redhat.com>
151 * README-how-to-make-a-release: Add note about updating the
152 GAS/NEWS URL in the next release.
154 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
157 * readelf.c (get_machine_flags): Add support for Z80N machine
160 2020-02-07 Nick Clifton <nickc@redhat.com>
162 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
163 of the truncated file name.
165 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
167 * objdump.c (print_jump_visualisation): New function.
168 (disassemble_bytes): Call new function.
170 2020-02-06 Alan Modra <amodra@gmail.com>
172 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
174 (supports_gnu_osabi): New procedure.
175 (is_generic): New, from ld-lib.exp.
176 (supports_gnu_unique): Use the above.
178 2020-02-04 Alan Modra <amodra@gmail.com>
180 * Makefile.am (CFILES): Add od-elf32_avr.c.
181 * Makefile.in: Regenerate.
182 * po/POTFILES.in: Regenerate.
184 2020-02-03 Andreas Schwab <schwab@linux-m68k.org>
186 * readelf.c (dump_relocations, dump_relocations)
187 (decode_arm_unwind_bytecode, process_dynamic_section)
188 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
191 2020-02-03 Sergei Trofimovich <siarheit@google.com>
193 * coffdump.c (program_name): Drop redundant definition.
194 * srconv.c (program_name): Likewise
195 * sysdump.c (program_name): Likewise
197 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
200 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
201 same file with different section pointers.
203 2020-02-01 Nick Clifton <nickc@redhat.com>
205 * README-how-to-make-a-release: Update with more details on the
206 release making process.
208 2020-01-31 Nick Clifton <nickc@redhat.com>
210 * po/sv.po: Updated Swedish translation.
212 2020-01-28 Nick Clifton <nickc@redhat.com>
214 * readelf.c (get_build_id): Simplify warning message about corrupt
215 notes encountered whilst scanning for the build-id.
217 2020-01-27 Roland McGrath <mcgrathr@google.com>
219 * objcopy.c (compare_gnu_build_notes): Fix comparison results
220 for overlapping ranges so that (A == B) == (B == A) holds.
222 2020-01-27 Alan Modra <amodra@gmail.com>
224 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
225 case statement with switch statement.
227 2020-01-24 Nick Clifton <nickc@redhat.com>
229 * readelf.c (get_build_id): Fix warning messages about corrupt
232 2020-01-23 Nick Clifton <nickc@redhat.com>
234 * po/fr.po: Updated French translation.
236 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
239 * readelf.c (get_alpha_symbol_other): Fix error message typo.
241 2020-01-20 Nick Clifton <nickc@redhat.com>
243 * po/pt.po: Updated Portuguese translation.
244 * po/uk.po: Updated Ukranian translation.
246 2020-01-18 Nick Clifton <nickc@redhat.com>
248 * README-how-to-make-a-release: Update notes on how to cut a
249 branch for a release.
251 2020-01-18 Nick Clifton <nickc@redhat.com>
253 * configure: Regenerate.
254 * po/binutils.pot: Regenerate.
256 2020-01-18 Nick Clifton <nickc@redhat.com>
258 Binutils 2.34 branch created.
260 2020-01-17 Thomas Troeger <tstroege@gmx.de>
262 * objdump.c (jump_info_visualize_address): Discard jumps that are
264 (disassemble_bytes): Only compute the maximum level if jumps were
267 2020-01-13 Nick Clifton <nickc@redhat.com>
269 * objdump.c (disassemble_bytes): Remove C99-ism.
270 * testsuite/binutils-all/debuginfod.exp: New tests.
272 2020-01-13 Thomas Troeger <tstroege@gmx.de>
274 * objdump.c (visualize_jumps, color_output, extended_color_output)
275 (detected_jumps): New variables.
276 (usage): Add the new jump visualization options.
277 (option_values): Add new option value.
278 (long_options): Add the new option.
279 (jump_info_new, jump_info_free): New functions.
280 (jump_info_min_address, jump_info_max_address): Likewise.
281 (jump_info_end_address, jump_info_is_start_address): Likewise.
282 (jump_info_is_end_address, jump_info_size): Likewise.
283 (jump_info_unlink, jump_info_insert): Likewise.
284 (jump_info_add_front, jump_info_move_linked): Likewise.
285 (jump_info_intersect, jump_info_merge): Likewise.
286 (jump_info_sort, jump_info_visualize_address): Likewise.
287 (disassemble_jumps): New function - used to locate jumps.
288 (disassemble_bytes): Add ascii art generation.
289 (disassemble_section): Add scan to locate jumps.
290 (main): Parse the new visualization option.
291 * doc/binutils.texi: Document the new feature.
292 * NEWS: Mention the new feature.
294 2020-01-13 Alan Modra <amodra@gmail.com>
298 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
299 fde_fc col_type and col_offset.
300 * readelf.c (apply_relocations): Move symsec check earlier.
301 (free_debug_section): Free reloc_info.
302 (process_notes_at): Free pnotes on error path.
303 (process_object): Free dump_sects here..
304 (process_archive): ..not here.
306 2020-01-13 Alan Modra <amodra@gmail.com>
309 * nm.c (display_rel_file): Free dyn_syms.
311 2020-01-09 Nick Clifton <nickc@redhat.com>
314 * objcopy.c (empty_name): New variable.
315 (need_sym_before): Prevent an attempt to free a static variable.
316 (filter_symbols): Avoid strcmp test by checking for pointer
319 2020-01-09 Nick Clifton <nickc@redhat.com>
321 * po/zh_TW.po: Updated Traditional Chinese translation.
323 2020-01-09 Aaron Merey <amerey@redhat.com>
325 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
326 * Makefile.in: Regenerate.
328 * config.in: Regenerate.
329 * configure: Regenerate.
330 * configure.ac: Call AC_DEBUGINFOD.
331 * doc/Makefile.in: Regenerate.
332 * doc/binutils.texi: Add section on using binutils
334 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
335 Query debuginfod servers for the target debug file.
336 (load_separate_debug_info): Call
337 debuginfod_fetch_separate_debug_info if configured with
339 (load_separate_debug_files): Add file argument to
340 load_separate_debug_info calls.
341 * dwarf.h (get_build_id): Add declaration.
342 * objdump.c (get_build_id): New function. Get build-id of file.
343 * readelf.c (get_build_id): Likewise.
344 * testsuite/binutils-all/debuginfod.exp: New tests.
345 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
348 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
350 * readelf.c: Add support for new Z*) relocations and machine
353 2020-01-01 Alan Modra <amodra@gmail.com>
355 Update year range in copyright notice of all files.
357 For older changes see ChangeLog-2019
359 Copyright (C) 2020 Free Software Foundation, Inc.
361 Copying and distribution of this file, with or without modification,
362 are permitted in any medium without royalty provided the copyright
363 notice and this notice are preserved.
369 version-control: never