1 2020-03-12 Alan Modra <amodra@gmail.com>
3 * readelf.c (process_section_headers): Don't just set
4 filedata->section_headers NULL, free it first. Similarly for
5 dynamic_symbols, dynamic_strings, dynamic_syminfo and
6 symtab_shndx_list. Zero associated counts too.
7 (process_object): Free symtab_shndx_list.
8 (process_file): Free various allocated filedata tables.
10 2020-03-11 Nick Clifton <nickc@redhat.com>
14 * dwarf.h (DWARF2_Internal_LineInfo): Add li_address_size and
15 li_segment_size fields.
16 * dwarf.c (read_debug_line_header): Record the address size and
17 segment selector size values (if present) in the lineinfo
19 (display_formatted_table): Warn if the format count is empty but
20 the table itself is not empty.
21 Display the format count and entry count at the start of the table
23 (display_debug_lines_raw): Display the address size and segement
24 selector size fields, if present.
25 * testsuite/binutils-all/dw5.W: Update expected output.
27 2020-03-11 Alan Modra <amodra@gmail.com>
30 * objcopy.c (copy_object): Test "gaps" not gap_fill_set or
31 pad_to_set on second block of code dealing with padding.
32 Replace "c" with "num_sec" and don't recalculate number of
33 sections on second block. Size arrays using sizeof (element)
34 rather than sizeof (element type).
36 2020-03-10 Alan Modra <amodra@gmail.com>
38 * objdump.c (disassemble_section): Don't call qsort unless
39 sym count is at least two.
40 (disassemble_data): Don't call memcpy with NULL src.
42 2020-03-09 Alan Modra <amodra@gmail.com>
45 * readelf.c (dump_ia64_vms_dynamic_fixups): Pass size and nmemb
46 to get_data rather than multiplying.
47 (dump_ia64_vms_dynamic_relocs): Likewise.
48 (process_version_sections): Correct order of size and nmemb args
50 (process_mips_specific): Likewise.
52 2020-03-08 H.J. Lu <hongjiu.lu@intel.com>
54 * readelf.c (get_dynamic_data): Replace "memory chekers" with
55 "memory checkers" in comments.
57 2020-03-06 Simon Marchi <simon.marchi@efficios.com>
60 * doc/Makefile.am: Rename MOSTLYCLEANFILES to MAINTAINERCLEANFILES.
61 * doc/Makefile.in: Re-generate.
63 2020-03-06 Nick Clifton <nickc@redhat.com>
65 * objcopy.c (check_new_section_flags): New function. Reject the
66 SEC_COFF_SHARED flag if the target is not a COFF binary.
67 (copy_object): Call check_new_section_flags.
68 (setup_section): Likewise.
69 * doc/binutils.texi (objcopy): Add a note that the 'share' section
70 flag cannot be applied to ELF binaries.
72 2020-03-06 Alan Modra <amodra@gmail.com>
75 * objcopy.c (filter_symbols): Correct rem_leading_char logic.
77 2020-03-05 Alan Modra <amodra@gmail.com>
80 * objcopy.c (filter_symbols): Don't segfault on NULL
81 prefix_symbols_string.
83 2020-03-04 Christian Eggers <ceggers@gmx.de>
85 * objcopy.c (copy_object): Convert from bytes to octets for
86 --gap-fill and --pad-to.
88 2020-03-03 Nick Clifton <nickc@redhat.com>
91 * prdbg.c (pr_tag_type): Remove call to abort.
93 2020-03-02 Aaron Merey <amerey@redhat.com>
95 * binutils/testsuite/binutils-all/debuginfod.exp: Improve port
98 2020-03-02 Nick Clifton <nickc@redhat.com>
101 * readelf.c (dump_section_as_strings): Display new-line characters
102 as \n and then insert a line break.
103 * testsuite/binutils-all/pr25543.s: New test.
104 * testsuite/binutils-all/pr25543.d: Test driver.
105 * testsuite/binutils-all/readelf.exp: Run the new test.
107 2020-02-27 Nick Clifton <nickc@redhat.com>
110 * readelf.c (process_ia64_vms_dynamic_relocs): Check to see if
111 get_data is unable to load the string table.
113 2020-02-26 Alan Modra <amodra@gmail.com>
115 * elfedit.c: Indent labels correctly.
116 * readelf.c: Likewise.
117 * resres.c: Likewise.
119 2020-02-25 H.J. Lu <hongjiu.lu@intel.com>
122 * ar.c (main): Pass 0 to bfd_plugin_set_program_name.
123 * nm.c (main): Pass 1 to bfd_plugin_set_program_name.
125 2020-02-24 Nick Clifton <nickc@redhat.com>
128 * doc/binutils.texi (objdump): Fix typo in description of
131 2020-02-20 Nelson Chu <nelson.chu@sifive.com>
133 * dwarf.c (regname_internal_riscv): Updated since the DECLARE_CSR
136 2020-02-19 Jordan Rupprecht <rupprecht@google.com>
138 * objdump.c (show_line): call bfd_demangle when using do_demangle.
140 2020-02-19 Andrew Burgess <andrew.burgess@embecosm.com>
142 * configure: Regenerate.
144 2020-02-10 Fangrui Song <maskray@google.com>
146 * objcopy.c (parse_flags): Handle "exclude".
147 * doc/binutils.texi: Document the support.
149 2020-02-10 Aaron Merey <amerey@redhat.com>
151 * binutils/testsuite/binutils-all/debuginfod.exp:
152 Replace set ::env with setenv.
153 Start server before setting environment variable.
154 Specify tmpdir as the location of the server's
156 Check additional server metrics at start-up.
158 2020-02-07 Nick Clifton <nickc@redhat.com>
160 * README-how-to-make-a-release: Add note about updating the
161 GAS/NEWS URL in the next release.
163 2020-02-07 Sergey Belyashov <sergey.belyashov@gmail.com>
166 * readelf.c (get_machine_flags): Add support for Z80N machine
169 2020-02-07 Nick Clifton <nickc@redhat.com>
171 * dwarf.c (display_debug_lines_decoded): Force a NUL termination
172 of the truncated file name.
174 2020-02-06 Andrew Burgess <andrew.burgess@embecosm.com>
176 * objdump.c (print_jump_visualisation): New function.
177 (disassemble_bytes): Call new function.
179 2020-02-06 Alan Modra <amodra@gmail.com>
181 * testsuite/lib/binutils-common.exp (match_target): Accept '!' before
183 (supports_gnu_osabi): New procedure.
184 (is_generic): New, from ld-lib.exp.
185 (supports_gnu_unique): Use the above.
187 2020-02-04 Alan Modra <amodra@gmail.com>
189 * Makefile.am (CFILES): Add od-elf32_avr.c.
190 * Makefile.in: Regenerate.
191 * po/POTFILES.in: Regenerate.
193 2020-02-03 Andreas Schwab <schwab@linux-m68k.org>
195 * readelf.c (dump_relocations, dump_relocations)
196 (decode_arm_unwind_bytecode, process_dynamic_section)
197 (get_symbol_visibility, get_alpha_symbol_other): Add newline to
200 2020-02-03 Sergei Trofimovich <siarheit@google.com>
202 * coffdump.c (program_name): Drop redundant definition.
203 * srconv.c (program_name): Likewise
204 * sysdump.c (program_name): Likewise
206 2020-02-02 H.J. Lu <hongjiu.lu@intel.com>
209 * objdump.c (sym_ok): Return FALSE if 2 sections are in the
210 same file with different section pointers.
212 2020-02-01 Nick Clifton <nickc@redhat.com>
214 * README-how-to-make-a-release: Update with more details on the
215 release making process.
217 2020-01-31 Nick Clifton <nickc@redhat.com>
219 * po/sv.po: Updated Swedish translation.
221 2020-01-28 Nick Clifton <nickc@redhat.com>
223 * readelf.c (get_build_id): Simplify warning message about corrupt
224 notes encountered whilst scanning for the build-id.
226 2020-01-27 Roland McGrath <mcgrathr@google.com>
228 * objcopy.c (compare_gnu_build_notes): Fix comparison results
229 for overlapping ranges so that (A == B) == (B == A) holds.
231 2020-01-27 Alan Modra <amodra@gmail.com>
233 * testsuite/lib/binutils-common.exp (big_or_little_endian): Replace
234 case statement with switch statement.
236 2020-01-24 Nick Clifton <nickc@redhat.com>
238 * readelf.c (get_build_id): Fix warning messages about corrupt
241 2020-01-23 Nick Clifton <nickc@redhat.com>
243 * po/fr.po: Updated French translation.
245 2020-01-22 Yuri Chornoivan <yurchor@mageia.org>
248 * readelf.c (get_alpha_symbol_other): Fix error message typo.
250 2020-01-20 Nick Clifton <nickc@redhat.com>
252 * po/pt.po: Updated Portuguese translation.
253 * po/uk.po: Updated Ukranian translation.
255 2020-01-18 Nick Clifton <nickc@redhat.com>
257 * README-how-to-make-a-release: Update notes on how to cut a
258 branch for a release.
260 2020-01-18 Nick Clifton <nickc@redhat.com>
262 * configure: Regenerate.
263 * po/binutils.pot: Regenerate.
265 2020-01-18 Nick Clifton <nickc@redhat.com>
267 Binutils 2.34 branch created.
269 2020-01-17 Thomas Troeger <tstroege@gmx.de>
271 * objdump.c (jump_info_visualize_address): Discard jumps that are
273 (disassemble_bytes): Only compute the maximum level if jumps were
276 2020-01-13 Nick Clifton <nickc@redhat.com>
278 * objdump.c (disassemble_bytes): Remove C99-ism.
279 * testsuite/binutils-all/debuginfod.exp: New tests.
281 2020-01-13 Thomas Troeger <tstroege@gmx.de>
283 * objdump.c (visualize_jumps, color_output, extended_color_output)
284 (detected_jumps): New variables.
285 (usage): Add the new jump visualization options.
286 (option_values): Add new option value.
287 (long_options): Add the new option.
288 (jump_info_new, jump_info_free): New functions.
289 (jump_info_min_address, jump_info_max_address): Likewise.
290 (jump_info_end_address, jump_info_is_start_address): Likewise.
291 (jump_info_is_end_address, jump_info_size): Likewise.
292 (jump_info_unlink, jump_info_insert): Likewise.
293 (jump_info_add_front, jump_info_move_linked): Likewise.
294 (jump_info_intersect, jump_info_merge): Likewise.
295 (jump_info_sort, jump_info_visualize_address): Likewise.
296 (disassemble_jumps): New function - used to locate jumps.
297 (disassemble_bytes): Add ascii art generation.
298 (disassemble_section): Add scan to locate jumps.
299 (main): Parse the new visualization option.
300 * doc/binutils.texi: Document the new feature.
301 * NEWS: Mention the new feature.
303 2020-01-13 Alan Modra <amodra@gmail.com>
307 * dwarf.c (display_debug_frames): Move fde_fc earlier. Free
308 fde_fc col_type and col_offset.
309 * readelf.c (apply_relocations): Move symsec check earlier.
310 (free_debug_section): Free reloc_info.
311 (process_notes_at): Free pnotes on error path.
312 (process_object): Free dump_sects here..
313 (process_archive): ..not here.
315 2020-01-13 Alan Modra <amodra@gmail.com>
318 * nm.c (display_rel_file): Free dyn_syms.
320 2020-01-09 Nick Clifton <nickc@redhat.com>
323 * objcopy.c (empty_name): New variable.
324 (need_sym_before): Prevent an attempt to free a static variable.
325 (filter_symbols): Avoid strcmp test by checking for pointer
328 2020-01-09 Nick Clifton <nickc@redhat.com>
330 * po/zh_TW.po: Updated Traditional Chinese translation.
332 2020-01-09 Aaron Merey <amerey@redhat.com>
334 * Makefile.am (readelf_LDADD, objdump_LDADD): Add libdebuginfod.
335 * Makefile.in: Regenerate.
337 * config.in: Regenerate.
338 * configure: Regenerate.
339 * configure.ac: Call AC_DEBUGINFOD.
340 * doc/Makefile.in: Regenerate.
341 * doc/binutils.texi: Add section on using binutils
343 * dwarf.c (debuginfod_fetch_separate_debug_info): New function.
344 Query debuginfod servers for the target debug file.
345 (load_separate_debug_info): Call
346 debuginfod_fetch_separate_debug_info if configured with
348 (load_separate_debug_files): Add file argument to
349 load_separate_debug_info calls.
350 * dwarf.h (get_build_id): Add declaration.
351 * objdump.c (get_build_id): New function. Get build-id of file.
352 * readelf.c (get_build_id): Likewise.
353 * testsuite/binutils-all/debuginfod.exp: New tests.
354 * testsuite/binutils-all/linkdebug.s: Add .note.gnu.build-id
357 2020-01-02 Sergey Belyashov <sergey.belyashov@gmail.com>
359 * readelf.c: Add support for new Z*) relocations and machine
362 2020-01-01 Alan Modra <amodra@gmail.com>
364 Update year range in copyright notice of all files.
366 For older changes see ChangeLog-2019
368 Copyright (C) 2020 Free Software Foundation, Inc.
370 Copying and distribution of this file, with or without modification,
371 are permitted in any medium without royalty provided the copyright
372 notice and this notice are preserved.
378 version-control: never