1 2020-03-09 Alan Modra <amodra@gmail.com>
4 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
5 to get_data rather than multiplying.
6 (dump_ia64_vms_dynamic_relocs): Likewise.
7 (process_version_sections): Correct order of size and nmemb args
9 (process_mips_specific): Likewise.
11 2020-03-08 H.J. Lu <hongjiu.lu@intel.com>
13 * readelf.c (get_dynamic_data): Replace "memory chekers" with
14 "memory checkers" in comments.
16 2020-03-06 Simon Marchi <simon.marchi@efficios.com>
19 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
20 * doc/Makefile.in: Re-generate.
22 2020-03-06 Nick Clifton <nickc@redhat.com>
24 * objcopy.c (check_new_section_flags): New function. Reject the
25 SEC_COFF_SHARED flag if the target is not a COFF binary.
26 (copy_object): Call check_new_section_flags.
27 (setup_section): Likewise.
28 * doc/binutils.texi (objcopy): Add a note that the 'share' section
29 flag cannot be applied to ELF binaries.
31 2020-03-06 Alan Modra <amodra@gmail.com>
34 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
36 2020-03-05 Alan Modra <amodra@gmail.com>
39 * objcopy.c (filter_symbols): Don't segfault on NULL
40 prefix_symbols_string.
42 2020-03-04 Christian Eggers <ceggers@gmx.de>
44 * objcopy.c (copy_object): Convert from bytes to octets for
45 --gap-fill and --pad-to.
47 2020-03-03 Nick Clifton <nickc@redhat.com>
50 * prdbg.c (pr_tag_type): Remove call to abort.
52 2020-03-02 Aaron Merey <amerey@redhat.com>
54 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
57 2020-03-02 Nick Clifton <nickc@redhat.com>
60 * readelf.c (dump_section_as_strings): Display new-line characters
61 as \n and then insert a line break.
62 * testsuite/binutils-all/pr25543.s: New test.
63 * testsuite/binutils-all/pr25543.d: Test driver.
64 * testsuite/binutils-all/readelf.exp: Run the new test.
66 2020-02-27 Nick Clifton <nickc@redhat.com>
69 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
70 get_data is unable to load the string table.
72 2020-02-26 Alan Modra <amodra@gmail.com>
74 * elfedit.c: Indent labels correctly.
75 * readelf.c: Likewise.
78 2020-02-25 H.J. Lu <hongjiu.lu@intel.com>
81 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
82 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
84 2020-02-24 Nick Clifton <nickc@redhat.com>
87 * doc/binutils.texi (objdump): Fix typo in description of
90 2020-02-20 Nelson Chu <nelson.chu@sifive.com>
92 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
95 2020-02-19 Jordan Rupprecht <rupprecht@google.com>
97 * objdump.c (show_line): call bfd_demangle when using do_demangle.
99 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
101 * configure: Regenerate.
103 2020-02-10 Fangrui Song <maskray@google.com>
105 * objcopy.c (parse_flags): Handle "exclude".
106 * doc/binutils.texi: Document the support.
108 2020-02-10 Aaron Merey <amerey@redhat.com>
110 * binutils/testsuite/binutils-all/debuginfod.exp:
111 Replace set ::env with setenv.
112 Start server before setting environment variable.
113 Specify tmpdir as the location of the server's
115 Check additional server metrics at start-up.
117 2020-02-07 Nick Clifton <nickc@redhat.com>
119 * README-how-to-make-a-release: Add note about updating the
120 GAS/NEWS URL in the next release.
122 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
125 * readelf.c (get_machine_flags): Add support for Z80N machine
128 2020-02-07 Nick Clifton <nickc@redhat.com>
130 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
131 of the truncated file name.
133 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
135 * objdump.c (print_jump_visualisation): New function.
136 (disassemble_bytes): Call new function.
138 2020-02-06 Alan Modra <amodra@gmail.com>
140 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
142 (supports_gnu_osabi): New procedure.
143 (is_generic): New, from ld-lib.exp.
144 (supports_gnu_unique): Use the above.
146 2020-02-04 Alan Modra <amodra@gmail.com>
148 * Makefile.am (CFILES): Add od-elf32_avr.c.
149 * Makefile.in: Regenerate.
150 * po/POTFILES.in: Regenerate.
152 2020-02-03 Andreas Schwab <schwab@linux-m68k.org>
154 * readelf.c (dump_relocations, dump_relocations)
155 (decode_arm_unwind_bytecode, process_dynamic_section)
156 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
159 2020-02-03 Sergei Trofimovich <siarheit@google.com>
161 * coffdump.c (program_name): Drop redundant definition.
162 * srconv.c (program_name): Likewise
163 * sysdump.c (program_name): Likewise
165 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
168 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
169 same file with different section pointers.
171 2020-02-01 Nick Clifton <nickc@redhat.com>
173 * README-how-to-make-a-release: Update with more details on the
174 release making process.
176 2020-01-31 Nick Clifton <nickc@redhat.com>
178 * po/sv.po: Updated Swedish translation.
180 2020-01-28 Nick Clifton <nickc@redhat.com>
182 * readelf.c (get_build_id): Simplify warning message about corrupt
183 notes encountered whilst scanning for the build-id.
185 2020-01-27 Roland McGrath <mcgrathr@google.com>
187 * objcopy.c (compare_gnu_build_notes): Fix comparison results
188 for overlapping ranges so that (A == B) == (B == A) holds.
190 2020-01-27 Alan Modra <amodra@gmail.com>
192 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
193 case statement with switch statement.
195 2020-01-24 Nick Clifton <nickc@redhat.com>
197 * readelf.c (get_build_id): Fix warning messages about corrupt
200 2020-01-23 Nick Clifton <nickc@redhat.com>
202 * po/fr.po: Updated French translation.
204 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
207 * readelf.c (get_alpha_symbol_other): Fix error message typo.
209 2020-01-20 Nick Clifton <nickc@redhat.com>
211 * po/pt.po: Updated Portuguese translation.
212 * po/uk.po: Updated Ukranian translation.
214 2020-01-18 Nick Clifton <nickc@redhat.com>
216 * README-how-to-make-a-release: Update notes on how to cut a
217 branch for a release.
219 2020-01-18 Nick Clifton <nickc@redhat.com>
221 * configure: Regenerate.
222 * po/binutils.pot: Regenerate.
224 2020-01-18 Nick Clifton <nickc@redhat.com>
226 Binutils 2.34 branch created.
228 2020-01-17 Thomas Troeger <tstroege@gmx.de>
230 * objdump.c (jump_info_visualize_address): Discard jumps that are
232 (disassemble_bytes): Only compute the maximum level if jumps were
235 2020-01-13 Nick Clifton <nickc@redhat.com>
237 * objdump.c (disassemble_bytes): Remove C99-ism.
238 * testsuite/binutils-all/debuginfod.exp: New tests.
240 2020-01-13 Thomas Troeger <tstroege@gmx.de>
242 * objdump.c (visualize_jumps, color_output, extended_color_output)
243 (detected_jumps): New variables.
244 (usage): Add the new jump visualization options.
245 (option_values): Add new option value.
246 (long_options): Add the new option.
247 (jump_info_new, jump_info_free): New functions.
248 (jump_info_min_address, jump_info_max_address): Likewise.
249 (jump_info_end_address, jump_info_is_start_address): Likewise.
250 (jump_info_is_end_address, jump_info_size): Likewise.
251 (jump_info_unlink, jump_info_insert): Likewise.
252 (jump_info_add_front, jump_info_move_linked): Likewise.
253 (jump_info_intersect, jump_info_merge): Likewise.
254 (jump_info_sort, jump_info_visualize_address): Likewise.
255 (disassemble_jumps): New function - used to locate jumps.
256 (disassemble_bytes): Add ascii art generation.
257 (disassemble_section): Add scan to locate jumps.
258 (main): Parse the new visualization option.
259 * doc/binutils.texi: Document the new feature.
260 * NEWS: Mention the new feature.
262 2020-01-13 Alan Modra <amodra@gmail.com>
266 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
267 fde_fc col_type and col_offset.
268 * readelf.c (apply_relocations): Move symsec check earlier.
269 (free_debug_section): Free reloc_info.
270 (process_notes_at): Free pnotes on error path.
271 (process_object): Free dump_sects here..
272 (process_archive): ..not here.
274 2020-01-13 Alan Modra <amodra@gmail.com>
277 * nm.c (display_rel_file): Free dyn_syms.
279 2020-01-09 Nick Clifton <nickc@redhat.com>
282 * objcopy.c (empty_name): New variable.
283 (need_sym_before): Prevent an attempt to free a static variable.
284 (filter_symbols): Avoid strcmp test by checking for pointer
287 2020-01-09 Nick Clifton <nickc@redhat.com>
289 * po/zh_TW.po: Updated Traditional Chinese translation.
291 2020-01-09 Aaron Merey <amerey@redhat.com>
293 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
294 * Makefile.in: Regenerate.
296 * config.in: Regenerate.
297 * configure: Regenerate.
298 * configure.ac: Call AC_DEBUGINFOD.
299 * doc/Makefile.in: Regenerate.
300 * doc/binutils.texi: Add section on using binutils
302 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
303 Query debuginfod servers for the target debug file.
304 (load_separate_debug_info): Call
305 debuginfod_fetch_separate_debug_info if configured with
307 (load_separate_debug_files): Add file argument to
308 load_separate_debug_info calls.
309 * dwarf.h (get_build_id): Add declaration.
310 * objdump.c (get_build_id): New function. Get build-id of file.
311 * readelf.c (get_build_id): Likewise.
312 * testsuite/binutils-all/debuginfod.exp: New tests.
313 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
316 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
318 * readelf.c: Add support for new Z*) relocations and machine
321 2020-01-01 Alan Modra <amodra@gmail.com>
323 Update year range in copyright notice of all files.
325 For older changes see ChangeLog-2019
327 Copyright (C) 2020 Free Software Foundation, Inc.
329 Copying and distribution of this file, with or without modification,
330 are permitted in any medium without royalty provided the copyright
331 notice and this notice are preserved.
337 version-control: never