1 2020-03-06 Nick Clifton <nickc@redhat.com>
3 * objcopy.c (check_new_section_flags): New function. Reject the
4 SEC_COFF_SHARED flag if the target is not a COFF binary.
5 (copy_object): Call check_new_section_flags.
6 (setup_section): Likewise.
7 * doc/binutils.texi (objcopy): Add a note that the 'share' section
8 flag cannot be applied to ELF binaries.
10 2020-03-06 Alan Modra <amodra@gmail.com>
13 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
15 2020-03-05 Alan Modra <amodra@gmail.com>
18 * objcopy.c (filter_symbols): Don't segfault on NULL
19 prefix_symbols_string.
21 2020-03-04 Christian Eggers <ceggers@gmx.de>
23 * objcopy.c (copy_object): Convert from bytes to octets for
24 --gap-fill and --pad-to.
26 2020-03-03 Nick Clifton <nickc@redhat.com>
29 * prdbg.c (pr_tag_type): Remove call to abort.
31 2020-03-02 Aaron Merey <amerey@redhat.com>
33 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
36 2020-03-02 Nick Clifton <nickc@redhat.com>
39 * readelf.c (dump_section_as_strings): Display new-line characters
40 as \n and then insert a line break.
41 * testsuite/binutils-all/pr25543.s: New test.
42 * testsuite/binutils-all/pr25543.d: Test driver.
43 * testsuite/binutils-all/readelf.exp: Run the new test.
45 2020-02-27 Nick Clifton <nickc@redhat.com>
48 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
49 get_data is unable to load the string table.
51 2020-02-26 Alan Modra <amodra@gmail.com>
53 * elfedit.c: Indent labels correctly.
54 * readelf.c: Likewise.
57 2020-02-25 H.J. Lu <hongjiu.lu@intel.com>
60 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
61 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
63 2020-02-24 Nick Clifton <nickc@redhat.com>
66 * doc/binutils.texi (objdump): Fix typo in description of
69 2020-02-20 Nelson Chu <nelson.chu@sifive.com>
71 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
74 2020-02-19 Jordan Rupprecht <rupprecht@google.com>
76 * objdump.c (show_line): call bfd_demangle when using do_demangle.
78 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
80 * configure: Regenerate.
82 2020-02-10 Fangrui Song <maskray@google.com>
84 * objcopy.c (parse_flags): Handle "exclude".
85 * doc/binutils.texi: Document the support.
87 2020-02-10 Aaron Merey <amerey@redhat.com>
89 * binutils/testsuite/binutils-all/debuginfod.exp:
90 Replace set ::env with setenv.
91 Start server before setting environment variable.
92 Specify tmpdir as the location of the server's
94 Check additional server metrics at start-up.
96 2020-02-07 Nick Clifton <nickc@redhat.com>
98 * README-how-to-make-a-release: Add note about updating the
99 GAS/NEWS URL in the next release.
101 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
104 * readelf.c (get_machine_flags): Add support for Z80N machine
107 2020-02-07 Nick Clifton <nickc@redhat.com>
109 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
110 of the truncated file name.
112 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
114 * objdump.c (print_jump_visualisation): New function.
115 (disassemble_bytes): Call new function.
117 2020-02-06 Alan Modra <amodra@gmail.com>
119 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
121 (supports_gnu_osabi): New procedure.
122 (is_generic): New, from ld-lib.exp.
123 (supports_gnu_unique): Use the above.
125 2020-02-04 Alan Modra <amodra@gmail.com>
127 * Makefile.am (CFILES): Add od-elf32_avr.c.
128 * Makefile.in: Regenerate.
129 * po/POTFILES.in: Regenerate.
131 2020-02-03 Andreas Schwab <schwab@linux-m68k.org>
133 * readelf.c (dump_relocations, dump_relocations)
134 (decode_arm_unwind_bytecode, process_dynamic_section)
135 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
138 2020-02-03 Sergei Trofimovich <siarheit@google.com>
140 * coffdump.c (program_name): Drop redundant definition.
141 * srconv.c (program_name): Likewise
142 * sysdump.c (program_name): Likewise
144 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
147 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
148 same file with different section pointers.
150 2020-02-01 Nick Clifton <nickc@redhat.com>
152 * README-how-to-make-a-release: Update with more details on the
153 release making process.
155 2020-01-31 Nick Clifton <nickc@redhat.com>
157 * po/sv.po: Updated Swedish translation.
159 2020-01-28 Nick Clifton <nickc@redhat.com>
161 * readelf.c (get_build_id): Simplify warning message about corrupt
162 notes encountered whilst scanning for the build-id.
164 2020-01-27 Roland McGrath <mcgrathr@google.com>
166 * objcopy.c (compare_gnu_build_notes): Fix comparison results
167 for overlapping ranges so that (A == B) == (B == A) holds.
169 2020-01-27 Alan Modra <amodra@gmail.com>
171 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
172 case statement with switch statement.
174 2020-01-24 Nick Clifton <nickc@redhat.com>
176 * readelf.c (get_build_id): Fix warning messages about corrupt
179 2020-01-23 Nick Clifton <nickc@redhat.com>
181 * po/fr.po: Updated French translation.
183 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
186 * readelf.c (get_alpha_symbol_other): Fix error message typo.
188 2020-01-20 Nick Clifton <nickc@redhat.com>
190 * po/pt.po: Updated Portuguese translation.
191 * po/uk.po: Updated Ukranian translation.
193 2020-01-18 Nick Clifton <nickc@redhat.com>
195 * README-how-to-make-a-release: Update notes on how to cut a
196 branch for a release.
198 2020-01-18 Nick Clifton <nickc@redhat.com>
200 * configure: Regenerate.
201 * po/binutils.pot: Regenerate.
203 2020-01-18 Nick Clifton <nickc@redhat.com>
205 Binutils 2.34 branch created.
207 2020-01-17 Thomas Troeger <tstroege@gmx.de>
209 * objdump.c (jump_info_visualize_address): Discard jumps that are
211 (disassemble_bytes): Only compute the maximum level if jumps were
214 2020-01-13 Nick Clifton <nickc@redhat.com>
216 * objdump.c (disassemble_bytes): Remove C99-ism.
217 * testsuite/binutils-all/debuginfod.exp: New tests.
219 2020-01-13 Thomas Troeger <tstroege@gmx.de>
221 * objdump.c (visualize_jumps, color_output, extended_color_output)
222 (detected_jumps): New variables.
223 (usage): Add the new jump visualization options.
224 (option_values): Add new option value.
225 (long_options): Add the new option.
226 (jump_info_new, jump_info_free): New functions.
227 (jump_info_min_address, jump_info_max_address): Likewise.
228 (jump_info_end_address, jump_info_is_start_address): Likewise.
229 (jump_info_is_end_address, jump_info_size): Likewise.
230 (jump_info_unlink, jump_info_insert): Likewise.
231 (jump_info_add_front, jump_info_move_linked): Likewise.
232 (jump_info_intersect, jump_info_merge): Likewise.
233 (jump_info_sort, jump_info_visualize_address): Likewise.
234 (disassemble_jumps): New function - used to locate jumps.
235 (disassemble_bytes): Add ascii art generation.
236 (disassemble_section): Add scan to locate jumps.
237 (main): Parse the new visualization option.
238 * doc/binutils.texi: Document the new feature.
239 * NEWS: Mention the new feature.
241 2020-01-13 Alan Modra <amodra@gmail.com>
245 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
246 fde_fc col_type and col_offset.
247 * readelf.c (apply_relocations): Move symsec check earlier.
248 (free_debug_section): Free reloc_info.
249 (process_notes_at): Free pnotes on error path.
250 (process_object): Free dump_sects here..
251 (process_archive): ..not here.
253 2020-01-13 Alan Modra <amodra@gmail.com>
256 * nm.c (display_rel_file): Free dyn_syms.
258 2020-01-09 Nick Clifton <nickc@redhat.com>
261 * objcopy.c (empty_name): New variable.
262 (need_sym_before): Prevent an attempt to free a static variable.
263 (filter_symbols): Avoid strcmp test by checking for pointer
266 2020-01-09 Nick Clifton <nickc@redhat.com>
268 * po/zh_TW.po: Updated Traditional Chinese translation.
270 2020-01-09 Aaron Merey <amerey@redhat.com>
272 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
273 * Makefile.in: Regenerate.
275 * config.in: Regenerate.
276 * configure: Regenerate.
277 * configure.ac: Call AC_DEBUGINFOD.
278 * doc/Makefile.in: Regenerate.
279 * doc/binutils.texi: Add section on using binutils
281 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
282 Query debuginfod servers for the target debug file.
283 (load_separate_debug_info): Call
284 debuginfod_fetch_separate_debug_info if configured with
286 (load_separate_debug_files): Add file argument to
287 load_separate_debug_info calls.
288 * dwarf.h (get_build_id): Add declaration.
289 * objdump.c (get_build_id): New function. Get build-id of file.
290 * readelf.c (get_build_id): Likewise.
291 * testsuite/binutils-all/debuginfod.exp: New tests.
292 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
295 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
297 * readelf.c: Add support for new Z*) relocations and machine
300 2020-01-01 Alan Modra <amodra@gmail.com>
302 Update year range in copyright notice of all files.
304 For older changes see ChangeLog-2019
306 Copyright (C) 2020 Free Software Foundation, Inc.
308 Copying and distribution of this file, with or without modification,
309 are permitted in any medium without royalty provided the copyright
310 notice and this notice are preserved.
316 version-control: never