1 2020-03-10 Alan Modra <amodra@gmail.com>
3 * objdump.c (disassemble_section): Don't call qsort unless
4 sym count is at least two.
5 (disassemble_data): Don't call memcpy with NULL src.
7 2020-03-09 Alan Modra <amodra@gmail.com>
10 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
11 to get_data rather than multiplying.
12 (dump_ia64_vms_dynamic_relocs): Likewise.
13 (process_version_sections): Correct order of size and nmemb args
15 (process_mips_specific): Likewise.
17 2020-03-08 H.J. Lu <hongjiu.lu@intel.com>
19 * readelf.c (get_dynamic_data): Replace "memory chekers" with
20 "memory checkers" in comments.
22 2020-03-06 Simon Marchi <simon.marchi@efficios.com>
25 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
26 * doc/Makefile.in: Re-generate.
28 2020-03-06 Nick Clifton <nickc@redhat.com>
30 * objcopy.c (check_new_section_flags): New function. Reject the
31 SEC_COFF_SHARED flag if the target is not a COFF binary.
32 (copy_object): Call check_new_section_flags.
33 (setup_section): Likewise.
34 * doc/binutils.texi (objcopy): Add a note that the 'share' section
35 flag cannot be applied to ELF binaries.
37 2020-03-06 Alan Modra <amodra@gmail.com>
40 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
42 2020-03-05 Alan Modra <amodra@gmail.com>
45 * objcopy.c (filter_symbols): Don't segfault on NULL
46 prefix_symbols_string.
48 2020-03-04 Christian Eggers <ceggers@gmx.de>
50 * objcopy.c (copy_object): Convert from bytes to octets for
51 --gap-fill and --pad-to.
53 2020-03-03 Nick Clifton <nickc@redhat.com>
56 * prdbg.c (pr_tag_type): Remove call to abort.
58 2020-03-02 Aaron Merey <amerey@redhat.com>
60 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
63 2020-03-02 Nick Clifton <nickc@redhat.com>
66 * readelf.c (dump_section_as_strings): Display new-line characters
67 as \n and then insert a line break.
68 * testsuite/binutils-all/pr25543.s: New test.
69 * testsuite/binutils-all/pr25543.d: Test driver.
70 * testsuite/binutils-all/readelf.exp: Run the new test.
72 2020-02-27 Nick Clifton <nickc@redhat.com>
75 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
76 get_data is unable to load the string table.
78 2020-02-26 Alan Modra <amodra@gmail.com>
80 * elfedit.c: Indent labels correctly.
81 * readelf.c: Likewise.
84 2020-02-25 H.J. Lu <hongjiu.lu@intel.com>
87 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
88 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
90 2020-02-24 Nick Clifton <nickc@redhat.com>
93 * doc/binutils.texi (objdump): Fix typo in description of
96 2020-02-20 Nelson Chu <nelson.chu@sifive.com>
98 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
101 2020-02-19 Jordan Rupprecht <rupprecht@google.com>
103 * objdump.c (show_line): call bfd_demangle when using do_demangle.
105 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
107 * configure: Regenerate.
109 2020-02-10 Fangrui Song <maskray@google.com>
111 * objcopy.c (parse_flags): Handle "exclude".
112 * doc/binutils.texi: Document the support.
114 2020-02-10 Aaron Merey <amerey@redhat.com>
116 * binutils/testsuite/binutils-all/debuginfod.exp:
117 Replace set ::env with setenv.
118 Start server before setting environment variable.
119 Specify tmpdir as the location of the server's
121 Check additional server metrics at start-up.
123 2020-02-07 Nick Clifton <nickc@redhat.com>
125 * README-how-to-make-a-release: Add note about updating the
126 GAS/NEWS URL in the next release.
128 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
131 * readelf.c (get_machine_flags): Add support for Z80N machine
134 2020-02-07 Nick Clifton <nickc@redhat.com>
136 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
137 of the truncated file name.
139 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
141 * objdump.c (print_jump_visualisation): New function.
142 (disassemble_bytes): Call new function.
144 2020-02-06 Alan Modra <amodra@gmail.com>
146 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
148 (supports_gnu_osabi): New procedure.
149 (is_generic): New, from ld-lib.exp.
150 (supports_gnu_unique): Use the above.
152 2020-02-04 Alan Modra <amodra@gmail.com>
154 * Makefile.am (CFILES): Add od-elf32_avr.c.
155 * Makefile.in: Regenerate.
156 * po/POTFILES.in: Regenerate.
158 2020-02-03 Andreas Schwab <schwab@linux-m68k.org>
160 * readelf.c (dump_relocations, dump_relocations)
161 (decode_arm_unwind_bytecode, process_dynamic_section)
162 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
165 2020-02-03 Sergei Trofimovich <siarheit@google.com>
167 * coffdump.c (program_name): Drop redundant definition.
168 * srconv.c (program_name): Likewise
169 * sysdump.c (program_name): Likewise
171 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
174 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
175 same file with different section pointers.
177 2020-02-01 Nick Clifton <nickc@redhat.com>
179 * README-how-to-make-a-release: Update with more details on the
180 release making process.
182 2020-01-31 Nick Clifton <nickc@redhat.com>
184 * po/sv.po: Updated Swedish translation.
186 2020-01-28 Nick Clifton <nickc@redhat.com>
188 * readelf.c (get_build_id): Simplify warning message about corrupt
189 notes encountered whilst scanning for the build-id.
191 2020-01-27 Roland McGrath <mcgrathr@google.com>
193 * objcopy.c (compare_gnu_build_notes): Fix comparison results
194 for overlapping ranges so that (A == B) == (B == A) holds.
196 2020-01-27 Alan Modra <amodra@gmail.com>
198 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
199 case statement with switch statement.
201 2020-01-24 Nick Clifton <nickc@redhat.com>
203 * readelf.c (get_build_id): Fix warning messages about corrupt
206 2020-01-23 Nick Clifton <nickc@redhat.com>
208 * po/fr.po: Updated French translation.
210 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
213 * readelf.c (get_alpha_symbol_other): Fix error message typo.
215 2020-01-20 Nick Clifton <nickc@redhat.com>
217 * po/pt.po: Updated Portuguese translation.
218 * po/uk.po: Updated Ukranian translation.
220 2020-01-18 Nick Clifton <nickc@redhat.com>
222 * README-how-to-make-a-release: Update notes on how to cut a
223 branch for a release.
225 2020-01-18 Nick Clifton <nickc@redhat.com>
227 * configure: Regenerate.
228 * po/binutils.pot: Regenerate.
230 2020-01-18 Nick Clifton <nickc@redhat.com>
232 Binutils 2.34 branch created.
234 2020-01-17 Thomas Troeger <tstroege@gmx.de>
236 * objdump.c (jump_info_visualize_address): Discard jumps that are
238 (disassemble_bytes): Only compute the maximum level if jumps were
241 2020-01-13 Nick Clifton <nickc@redhat.com>
243 * objdump.c (disassemble_bytes): Remove C99-ism.
244 * testsuite/binutils-all/debuginfod.exp: New tests.
246 2020-01-13 Thomas Troeger <tstroege@gmx.de>
248 * objdump.c (visualize_jumps, color_output, extended_color_output)
249 (detected_jumps): New variables.
250 (usage): Add the new jump visualization options.
251 (option_values): Add new option value.
252 (long_options): Add the new option.
253 (jump_info_new, jump_info_free): New functions.
254 (jump_info_min_address, jump_info_max_address): Likewise.
255 (jump_info_end_address, jump_info_is_start_address): Likewise.
256 (jump_info_is_end_address, jump_info_size): Likewise.
257 (jump_info_unlink, jump_info_insert): Likewise.
258 (jump_info_add_front, jump_info_move_linked): Likewise.
259 (jump_info_intersect, jump_info_merge): Likewise.
260 (jump_info_sort, jump_info_visualize_address): Likewise.
261 (disassemble_jumps): New function - used to locate jumps.
262 (disassemble_bytes): Add ascii art generation.
263 (disassemble_section): Add scan to locate jumps.
264 (main): Parse the new visualization option.
265 * doc/binutils.texi: Document the new feature.
266 * NEWS: Mention the new feature.
268 2020-01-13 Alan Modra <amodra@gmail.com>
272 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
273 fde_fc col_type and col_offset.
274 * readelf.c (apply_relocations): Move symsec check earlier.
275 (free_debug_section): Free reloc_info.
276 (process_notes_at): Free pnotes on error path.
277 (process_object): Free dump_sects here..
278 (process_archive): ..not here.
280 2020-01-13 Alan Modra <amodra@gmail.com>
283 * nm.c (display_rel_file): Free dyn_syms.
285 2020-01-09 Nick Clifton <nickc@redhat.com>
288 * objcopy.c (empty_name): New variable.
289 (need_sym_before): Prevent an attempt to free a static variable.
290 (filter_symbols): Avoid strcmp test by checking for pointer
293 2020-01-09 Nick Clifton <nickc@redhat.com>
295 * po/zh_TW.po: Updated Traditional Chinese translation.
297 2020-01-09 Aaron Merey <amerey@redhat.com>
299 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
300 * Makefile.in: Regenerate.
302 * config.in: Regenerate.
303 * configure: Regenerate.
304 * configure.ac: Call AC_DEBUGINFOD.
305 * doc/Makefile.in: Regenerate.
306 * doc/binutils.texi: Add section on using binutils
308 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
309 Query debuginfod servers for the target debug file.
310 (load_separate_debug_info): Call
311 debuginfod_fetch_separate_debug_info if configured with
313 (load_separate_debug_files): Add file argument to
314 load_separate_debug_info calls.
315 * dwarf.h (get_build_id): Add declaration.
316 * objdump.c (get_build_id): New function. Get build-id of file.
317 * readelf.c (get_build_id): Likewise.
318 * testsuite/binutils-all/debuginfod.exp: New tests.
319 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
322 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
324 * readelf.c: Add support for new Z*) relocations and machine
327 2020-01-01 Alan Modra <amodra@gmail.com>
329 Update year range in copyright notice of all files.
331 For older changes see ChangeLog-2019
333 Copyright (C) 2020 Free Software Foundation, Inc.
335 Copying and distribution of this file, with or without modification,
336 are permitted in any medium without royalty provided the copyright
337 notice and this notice are preserved.
343 version-control: never