1 2020-03-06 Simon Marchi <simon.marchi@efficios.com>
4 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
5 * doc/Makefile.in: Re-generate.
7 2020-03-06 Nick Clifton <nickc@redhat.com>
9 * objcopy.c (check_new_section_flags): New function. Reject the
10 SEC_COFF_SHARED flag if the target is not a COFF binary.
11 (copy_object): Call check_new_section_flags.
12 (setup_section): Likewise.
13 * doc/binutils.texi (objcopy): Add a note that the 'share' section
14 flag cannot be applied to ELF binaries.
16 2020-03-06 Alan Modra <amodra@gmail.com>
19 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
21 2020-03-05 Alan Modra <amodra@gmail.com>
24 * objcopy.c (filter_symbols): Don't segfault on NULL
25 prefix_symbols_string.
27 2020-03-04 Christian Eggers <ceggers@gmx.de>
29 * objcopy.c (copy_object): Convert from bytes to octets for
30 --gap-fill and --pad-to.
32 2020-03-03 Nick Clifton <nickc@redhat.com>
35 * prdbg.c (pr_tag_type): Remove call to abort.
37 2020-03-02 Aaron Merey <amerey@redhat.com>
39 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
42 2020-03-02 Nick Clifton <nickc@redhat.com>
45 * readelf.c (dump_section_as_strings): Display new-line characters
46 as \n and then insert a line break.
47 * testsuite/binutils-all/pr25543.s: New test.
48 * testsuite/binutils-all/pr25543.d: Test driver.
49 * testsuite/binutils-all/readelf.exp: Run the new test.
51 2020-02-27 Nick Clifton <nickc@redhat.com>
54 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
55 get_data is unable to load the string table.
57 2020-02-26 Alan Modra <amodra@gmail.com>
59 * elfedit.c: Indent labels correctly.
60 * readelf.c: Likewise.
63 2020-02-25 H.J. Lu <hongjiu.lu@intel.com>
66 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
67 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
69 2020-02-24 Nick Clifton <nickc@redhat.com>
72 * doc/binutils.texi (objdump): Fix typo in description of
75 2020-02-20 Nelson Chu <nelson.chu@sifive.com>
77 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
80 2020-02-19 Jordan Rupprecht <rupprecht@google.com>
82 * objdump.c (show_line): call bfd_demangle when using do_demangle.
84 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
86 * configure: Regenerate.
88 2020-02-10 Fangrui Song <maskray@google.com>
90 * objcopy.c (parse_flags): Handle "exclude".
91 * doc/binutils.texi: Document the support.
93 2020-02-10 Aaron Merey <amerey@redhat.com>
95 * binutils/testsuite/binutils-all/debuginfod.exp:
96 Replace set ::env with setenv.
97 Start server before setting environment variable.
98 Specify tmpdir as the location of the server's
100 Check additional server metrics at start-up.
102 2020-02-07 Nick Clifton <nickc@redhat.com>
104 * README-how-to-make-a-release: Add note about updating the
105 GAS/NEWS URL in the next release.
107 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
110 * readelf.c (get_machine_flags): Add support for Z80N machine
113 2020-02-07 Nick Clifton <nickc@redhat.com>
115 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
116 of the truncated file name.
118 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
120 * objdump.c (print_jump_visualisation): New function.
121 (disassemble_bytes): Call new function.
123 2020-02-06 Alan Modra <amodra@gmail.com>
125 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
127 (supports_gnu_osabi): New procedure.
128 (is_generic): New, from ld-lib.exp.
129 (supports_gnu_unique): Use the above.
131 2020-02-04 Alan Modra <amodra@gmail.com>
133 * Makefile.am (CFILES): Add od-elf32_avr.c.
134 * Makefile.in: Regenerate.
135 * po/POTFILES.in: Regenerate.
137 2020-02-03 Andreas Schwab <schwab@linux-m68k.org>
139 * readelf.c (dump_relocations, dump_relocations)
140 (decode_arm_unwind_bytecode, process_dynamic_section)
141 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
144 2020-02-03 Sergei Trofimovich <siarheit@google.com>
146 * coffdump.c (program_name): Drop redundant definition.
147 * srconv.c (program_name): Likewise
148 * sysdump.c (program_name): Likewise
150 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
153 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
154 same file with different section pointers.
156 2020-02-01 Nick Clifton <nickc@redhat.com>
158 * README-how-to-make-a-release: Update with more details on the
159 release making process.
161 2020-01-31 Nick Clifton <nickc@redhat.com>
163 * po/sv.po: Updated Swedish translation.
165 2020-01-28 Nick Clifton <nickc@redhat.com>
167 * readelf.c (get_build_id): Simplify warning message about corrupt
168 notes encountered whilst scanning for the build-id.
170 2020-01-27 Roland McGrath <mcgrathr@google.com>
172 * objcopy.c (compare_gnu_build_notes): Fix comparison results
173 for overlapping ranges so that (A == B) == (B == A) holds.
175 2020-01-27 Alan Modra <amodra@gmail.com>
177 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
178 case statement with switch statement.
180 2020-01-24 Nick Clifton <nickc@redhat.com>
182 * readelf.c (get_build_id): Fix warning messages about corrupt
185 2020-01-23 Nick Clifton <nickc@redhat.com>
187 * po/fr.po: Updated French translation.
189 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
192 * readelf.c (get_alpha_symbol_other): Fix error message typo.
194 2020-01-20 Nick Clifton <nickc@redhat.com>
196 * po/pt.po: Updated Portuguese translation.
197 * po/uk.po: Updated Ukranian translation.
199 2020-01-18 Nick Clifton <nickc@redhat.com>
201 * README-how-to-make-a-release: Update notes on how to cut a
202 branch for a release.
204 2020-01-18 Nick Clifton <nickc@redhat.com>
206 * configure: Regenerate.
207 * po/binutils.pot: Regenerate.
209 2020-01-18 Nick Clifton <nickc@redhat.com>
211 Binutils 2.34 branch created.
213 2020-01-17 Thomas Troeger <tstroege@gmx.de>
215 * objdump.c (jump_info_visualize_address): Discard jumps that are
217 (disassemble_bytes): Only compute the maximum level if jumps were
220 2020-01-13 Nick Clifton <nickc@redhat.com>
222 * objdump.c (disassemble_bytes): Remove C99-ism.
223 * testsuite/binutils-all/debuginfod.exp: New tests.
225 2020-01-13 Thomas Troeger <tstroege@gmx.de>
227 * objdump.c (visualize_jumps, color_output, extended_color_output)
228 (detected_jumps): New variables.
229 (usage): Add the new jump visualization options.
230 (option_values): Add new option value.
231 (long_options): Add the new option.
232 (jump_info_new, jump_info_free): New functions.
233 (jump_info_min_address, jump_info_max_address): Likewise.
234 (jump_info_end_address, jump_info_is_start_address): Likewise.
235 (jump_info_is_end_address, jump_info_size): Likewise.
236 (jump_info_unlink, jump_info_insert): Likewise.
237 (jump_info_add_front, jump_info_move_linked): Likewise.
238 (jump_info_intersect, jump_info_merge): Likewise.
239 (jump_info_sort, jump_info_visualize_address): Likewise.
240 (disassemble_jumps): New function - used to locate jumps.
241 (disassemble_bytes): Add ascii art generation.
242 (disassemble_section): Add scan to locate jumps.
243 (main): Parse the new visualization option.
244 * doc/binutils.texi: Document the new feature.
245 * NEWS: Mention the new feature.
247 2020-01-13 Alan Modra <amodra@gmail.com>
251 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
252 fde_fc col_type and col_offset.
253 * readelf.c (apply_relocations): Move symsec check earlier.
254 (free_debug_section): Free reloc_info.
255 (process_notes_at): Free pnotes on error path.
256 (process_object): Free dump_sects here..
257 (process_archive): ..not here.
259 2020-01-13 Alan Modra <amodra@gmail.com>
262 * nm.c (display_rel_file): Free dyn_syms.
264 2020-01-09 Nick Clifton <nickc@redhat.com>
267 * objcopy.c (empty_name): New variable.
268 (need_sym_before): Prevent an attempt to free a static variable.
269 (filter_symbols): Avoid strcmp test by checking for pointer
272 2020-01-09 Nick Clifton <nickc@redhat.com>
274 * po/zh_TW.po: Updated Traditional Chinese translation.
276 2020-01-09 Aaron Merey <amerey@redhat.com>
278 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
279 * Makefile.in: Regenerate.
281 * config.in: Regenerate.
282 * configure: Regenerate.
283 * configure.ac: Call AC_DEBUGINFOD.
284 * doc/Makefile.in: Regenerate.
285 * doc/binutils.texi: Add section on using binutils
287 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
288 Query debuginfod servers for the target debug file.
289 (load_separate_debug_info): Call
290 debuginfod_fetch_separate_debug_info if configured with
292 (load_separate_debug_files): Add file argument to
293 load_separate_debug_info calls.
294 * dwarf.h (get_build_id): Add declaration.
295 * objdump.c (get_build_id): New function. Get build-id of file.
296 * readelf.c (get_build_id): Likewise.
297 * testsuite/binutils-all/debuginfod.exp: New tests.
298 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
301 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
303 * readelf.c: Add support for new Z*) relocations and machine
306 2020-01-01 Alan Modra <amodra@gmail.com>
308 Update year range in copyright notice of all files.
310 For older changes see ChangeLog-2019
312 Copyright (C) 2020 Free Software Foundation, Inc.
314 Copying and distribution of this file, with or without modification,
315 are permitted in any medium without royalty provided the copyright
316 notice and this notice are preserved.
322 version-control: never