1 2020-03-11 Alan Modra <amodra@gmail.com>
4 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
5 pad_to_set on second block of code dealing with padding.
6 Replace "c" with "num_sec" and don't recalculate number of
7 sections on second block. Size arrays using sizeof (element)
8 rather than sizeof (element type).
10 2020-03-10 Alan Modra <amodra@gmail.com>
12 * objdump.c (disassemble_section): Don't call qsort unless
13 sym count is at least two.
14 (disassemble_data): Don't call memcpy with NULL src.
16 2020-03-09 Alan Modra <amodra@gmail.com>
19 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
20 to get_data rather than multiplying.
21 (dump_ia64_vms_dynamic_relocs): Likewise.
22 (process_version_sections): Correct order of size and nmemb args
24 (process_mips_specific): Likewise.
26 2020-03-08 H.J. Lu <hongjiu.lu@intel.com>
28 * readelf.c (get_dynamic_data): Replace "memory chekers" with
29 "memory checkers" in comments.
31 2020-03-06 Simon Marchi <simon.marchi@efficios.com>
34 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
35 * doc/Makefile.in: Re-generate.
37 2020-03-06 Nick Clifton <nickc@redhat.com>
39 * objcopy.c (check_new_section_flags): New function. Reject the
40 SEC_COFF_SHARED flag if the target is not a COFF binary.
41 (copy_object): Call check_new_section_flags.
42 (setup_section): Likewise.
43 * doc/binutils.texi (objcopy): Add a note that the 'share' section
44 flag cannot be applied to ELF binaries.
46 2020-03-06 Alan Modra <amodra@gmail.com>
49 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
51 2020-03-05 Alan Modra <amodra@gmail.com>
54 * objcopy.c (filter_symbols): Don't segfault on NULL
55 prefix_symbols_string.
57 2020-03-04 Christian Eggers <ceggers@gmx.de>
59 * objcopy.c (copy_object): Convert from bytes to octets for
60 --gap-fill and --pad-to.
62 2020-03-03 Nick Clifton <nickc@redhat.com>
65 * prdbg.c (pr_tag_type): Remove call to abort.
67 2020-03-02 Aaron Merey <amerey@redhat.com>
69 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
72 2020-03-02 Nick Clifton <nickc@redhat.com>
75 * readelf.c (dump_section_as_strings): Display new-line characters
76 as \n and then insert a line break.
77 * testsuite/binutils-all/pr25543.s: New test.
78 * testsuite/binutils-all/pr25543.d: Test driver.
79 * testsuite/binutils-all/readelf.exp: Run the new test.
81 2020-02-27 Nick Clifton <nickc@redhat.com>
84 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
85 get_data is unable to load the string table.
87 2020-02-26 Alan Modra <amodra@gmail.com>
89 * elfedit.c: Indent labels correctly.
90 * readelf.c: Likewise.
93 2020-02-25 H.J. Lu <hongjiu.lu@intel.com>
96 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
97 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
99 2020-02-24 Nick Clifton <nickc@redhat.com>
102 * doc/binutils.texi (objdump): Fix typo in description of
105 2020-02-20 Nelson Chu <nelson.chu@sifive.com>
107 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
110 2020-02-19 Jordan Rupprecht <rupprecht@google.com>
112 * objdump.c (show_line): call bfd_demangle when using do_demangle.
114 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
116 * configure: Regenerate.
118 2020-02-10 Fangrui Song <maskray@google.com>
120 * objcopy.c (parse_flags): Handle "exclude".
121 * doc/binutils.texi: Document the support.
123 2020-02-10 Aaron Merey <amerey@redhat.com>
125 * binutils/testsuite/binutils-all/debuginfod.exp:
126 Replace set ::env with setenv.
127 Start server before setting environment variable.
128 Specify tmpdir as the location of the server's
130 Check additional server metrics at start-up.
132 2020-02-07 Nick Clifton <nickc@redhat.com>
134 * README-how-to-make-a-release: Add note about updating the
135 GAS/NEWS URL in the next release.
137 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
140 * readelf.c (get_machine_flags): Add support for Z80N machine
143 2020-02-07 Nick Clifton <nickc@redhat.com>
145 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
146 of the truncated file name.
148 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
150 * objdump.c (print_jump_visualisation): New function.
151 (disassemble_bytes): Call new function.
153 2020-02-06 Alan Modra <amodra@gmail.com>
155 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
157 (supports_gnu_osabi): New procedure.
158 (is_generic): New, from ld-lib.exp.
159 (supports_gnu_unique): Use the above.
161 2020-02-04 Alan Modra <amodra@gmail.com>
163 * Makefile.am (CFILES): Add od-elf32_avr.c.
164 * Makefile.in: Regenerate.
165 * po/POTFILES.in: Regenerate.
167 2020-02-03 Andreas Schwab <schwab@linux-m68k.org>
169 * readelf.c (dump_relocations, dump_relocations)
170 (decode_arm_unwind_bytecode, process_dynamic_section)
171 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
174 2020-02-03 Sergei Trofimovich <siarheit@google.com>
176 * coffdump.c (program_name): Drop redundant definition.
177 * srconv.c (program_name): Likewise
178 * sysdump.c (program_name): Likewise
180 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
183 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
184 same file with different section pointers.
186 2020-02-01 Nick Clifton <nickc@redhat.com>
188 * README-how-to-make-a-release: Update with more details on the
189 release making process.
191 2020-01-31 Nick Clifton <nickc@redhat.com>
193 * po/sv.po: Updated Swedish translation.
195 2020-01-28 Nick Clifton <nickc@redhat.com>
197 * readelf.c (get_build_id): Simplify warning message about corrupt
198 notes encountered whilst scanning for the build-id.
200 2020-01-27 Roland McGrath <mcgrathr@google.com>
202 * objcopy.c (compare_gnu_build_notes): Fix comparison results
203 for overlapping ranges so that (A == B) == (B == A) holds.
205 2020-01-27 Alan Modra <amodra@gmail.com>
207 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
208 case statement with switch statement.
210 2020-01-24 Nick Clifton <nickc@redhat.com>
212 * readelf.c (get_build_id): Fix warning messages about corrupt
215 2020-01-23 Nick Clifton <nickc@redhat.com>
217 * po/fr.po: Updated French translation.
219 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
222 * readelf.c (get_alpha_symbol_other): Fix error message typo.
224 2020-01-20 Nick Clifton <nickc@redhat.com>
226 * po/pt.po: Updated Portuguese translation.
227 * po/uk.po: Updated Ukranian translation.
229 2020-01-18 Nick Clifton <nickc@redhat.com>
231 * README-how-to-make-a-release: Update notes on how to cut a
232 branch for a release.
234 2020-01-18 Nick Clifton <nickc@redhat.com>
236 * configure: Regenerate.
237 * po/binutils.pot: Regenerate.
239 2020-01-18 Nick Clifton <nickc@redhat.com>
241 Binutils 2.34 branch created.
243 2020-01-17 Thomas Troeger <tstroege@gmx.de>
245 * objdump.c (jump_info_visualize_address): Discard jumps that are
247 (disassemble_bytes): Only compute the maximum level if jumps were
250 2020-01-13 Nick Clifton <nickc@redhat.com>
252 * objdump.c (disassemble_bytes): Remove C99-ism.
253 * testsuite/binutils-all/debuginfod.exp: New tests.
255 2020-01-13 Thomas Troeger <tstroege@gmx.de>
257 * objdump.c (visualize_jumps, color_output, extended_color_output)
258 (detected_jumps): New variables.
259 (usage): Add the new jump visualization options.
260 (option_values): Add new option value.
261 (long_options): Add the new option.
262 (jump_info_new, jump_info_free): New functions.
263 (jump_info_min_address, jump_info_max_address): Likewise.
264 (jump_info_end_address, jump_info_is_start_address): Likewise.
265 (jump_info_is_end_address, jump_info_size): Likewise.
266 (jump_info_unlink, jump_info_insert): Likewise.
267 (jump_info_add_front, jump_info_move_linked): Likewise.
268 (jump_info_intersect, jump_info_merge): Likewise.
269 (jump_info_sort, jump_info_visualize_address): Likewise.
270 (disassemble_jumps): New function - used to locate jumps.
271 (disassemble_bytes): Add ascii art generation.
272 (disassemble_section): Add scan to locate jumps.
273 (main): Parse the new visualization option.
274 * doc/binutils.texi: Document the new feature.
275 * NEWS: Mention the new feature.
277 2020-01-13 Alan Modra <amodra@gmail.com>
281 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
282 fde_fc col_type and col_offset.
283 * readelf.c (apply_relocations): Move symsec check earlier.
284 (free_debug_section): Free reloc_info.
285 (process_notes_at): Free pnotes on error path.
286 (process_object): Free dump_sects here..
287 (process_archive): ..not here.
289 2020-01-13 Alan Modra <amodra@gmail.com>
292 * nm.c (display_rel_file): Free dyn_syms.
294 2020-01-09 Nick Clifton <nickc@redhat.com>
297 * objcopy.c (empty_name): New variable.
298 (need_sym_before): Prevent an attempt to free a static variable.
299 (filter_symbols): Avoid strcmp test by checking for pointer
302 2020-01-09 Nick Clifton <nickc@redhat.com>
304 * po/zh_TW.po: Updated Traditional Chinese translation.
306 2020-01-09 Aaron Merey <amerey@redhat.com>
308 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
309 * Makefile.in: Regenerate.
311 * config.in: Regenerate.
312 * configure: Regenerate.
313 * configure.ac: Call AC_DEBUGINFOD.
314 * doc/Makefile.in: Regenerate.
315 * doc/binutils.texi: Add section on using binutils
317 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
318 Query debuginfod servers for the target debug file.
319 (load_separate_debug_info): Call
320 debuginfod_fetch_separate_debug_info if configured with
322 (load_separate_debug_files): Add file argument to
323 load_separate_debug_info calls.
324 * dwarf.h (get_build_id): Add declaration.
325 * objdump.c (get_build_id): New function. Get build-id of file.
326 * readelf.c (get_build_id): Likewise.
327 * testsuite/binutils-all/debuginfod.exp: New tests.
328 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
331 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
333 * readelf.c: Add support for new Z*) relocations and machine
336 2020-01-01 Alan Modra <amodra@gmail.com>
338 Update year range in copyright notice of all files.
340 For older changes see ChangeLog-2019
342 Copyright (C) 2020 Free Software Foundation, Inc.
344 Copying and distribution of this file, with or without modification,
345 are permitted in any medium without royalty provided the copyright
346 notice and this notice are preserved.
352 version-control: never