1 2021-02-17 Alan Modra <amodra@gmail.com>
3 * dwarf.c: Include limits.h.
4 (CHAR_BIT): Provide backup define.
5 (read_leb128): Use CHAR_BIT to size "result" in bits. Correct
6 signed overflow checking.
7 * testsuite/binutils-all/pr26548.s,
8 * testsuite/binutils-all/pr26548.d,
9 * testsuite/binutils-all/pr26548e.d: New tests.
10 * testsuite/binutils-all/readelf.exp: Run them.
11 (readelf_test): Drop unused "xfails" parameter. Update all uses.
13 2021-02-16 Jan Beulich <jbeulich@suse.com>
15 * dwarf.c (process_debug_info): Initialize "dwo_id".
17 2021-02-15 Alan Modra <amodra@gmail.com>
19 * objdump.c (load_specific_debug_section): Don't call
20 bfd_cache_section_contents. Rearrange so that
21 bfd_get_full_section_contents is not called on path where
22 bfd_simple_get_relocated_section_contents is called.
23 Don't set section->user_data.
24 (free_debug_section): Always free section->start. Don't twiddle
26 * readelf.c (load_specific_debug_section): Don't set user_data.
27 * dwarf.h (struct dwarf_section): Remove use_data field.
28 * dwarf.c (NO_ABBREVS, ABBREV): Adjust to suit.
30 2021-02-15 Alan Modra <amodra@gmail.com>
32 * testsuite/binutils-all/compress.exp: Remove nds32 xfails.
33 * testsuite/binutils-all/objdump.exp: Likewise.
35 2021-02-14 Alan Modra <amodra@gmail.com>
37 * objdump.c (slurp_symtab): Don't add an extra entry for NULL
39 (slurp_dynamic_symtab): Likewise.
40 (dump_bfd): Formatting. Copy terminating NULL from extra_syms.
42 2021-02-14 Alan Modra <amodra@gmail.com>
44 * Makefile.in: Regenerate.
45 * doc/Makefile.in: Regenerate.
47 2021-02-13 Mike Frysinger <vapier@gentoo.org>
49 * aclocal.m4: Regenerate.
51 2021-02-12 Nick Clifton <nickc@redhat.com>
53 * configure.ac (follow-debug-links): Add option to enable or
54 disable the following of debug links by default. Set the
55 default for the option to be 'follow'.
56 * dwarf.c (do_follow_links): Initialise with DEFAULT_FOR_FOLLOW_LINKS.
57 (dwarf_select_sections_by_names): Add no-follow-links option.
58 (dwarf_select_sections_by_letter): Add 'N' option.
59 * objdump.c (usage): Add conditional text describing the
61 (slurp_symtab): Ensure that there is a NULL entry at the end
63 (slurp_dynamic_symtab): Likewise.
64 (dump_bfd): When extending the symbol table, ensure that there
65 is still a NULL entry at the end.
66 * readelf.c (usage): Add conditional text describing the
68 * doc/binutils.texi: Update documentation for objcopy and
70 * doc/debug.options.texi: Update documentation of the
72 * config.in: Regenerate.
73 * configure: Regenerate.
74 * testsuite/binutils-all/compress.exp: Add the -WN option to
75 objdump command lines that are not expecting to follow links.
76 * testsuite/binutils-all/readelf.exp: Add the
77 --debug-dump=no-follow-links option to tests that are not
78 expecting to follow debug links.
79 * NEWS: Mention the new behaviour.
81 2021-02-12 Alan Modra <amodra@gmail.com>
83 * testsuite/binutils-all/objcopy.exp: Report "unsupported" when
84 gas or ld fails to build a testcase rather than "unresolved".
85 Report "fail" when readelf returns an error status rather than
87 * testsuite/binutils-all/ar.exp: Likewise.
88 * testsuite/binutils-all/compress.exp: Likewise.
89 * testsuite/binutils-all/readelf.exp: Likewise.
91 2021-02-12 Alan Modra <amodra@gmail.com>
93 * testsuite/binutils-all/pr25662.s: Replace "a" with "aaa" and
94 "c" with "ccc" labels.
96 2021-02-12 Tom de Vries <tdevries@suse.de>
98 * dwarf.h (debug_info): Fix typo in comment.
100 2021-02-12 Tom de Vries <tdevries@suse.de>
102 * dwarf.c (display_debug_str_offsets): Handle multiple sets of
105 2021-02-12 Tom de Vries <tdevries@suse.de>
107 * dwarf.c (process_debug_info): Print DWO ID.
109 2021-02-11 Alan Modra <amodra@gmail.com>
114 * od-elf32_avr.c (elf32_avr_get_note_section_contents): Formatting.
115 Use bfd_malloc_and_get_section.
116 (elf32_avr_get_note_desc): Formatting. Return descsz. Sanity
117 check namesz. Return NULL if descsz is too small. Ensure
118 string table is terminated.
119 (elf32_avr_get_device_info): Formatting. Add note_size param.
121 (elf32_avr_dump_mem_usage): Adjust to suit.
123 2021-02-10 Tom de Vries <tdevries@suse.de>
126 * dwarf.c (load_dwo_file): Handle case that name is absolute path.
128 2021-02-10 Tom de Vries <tdevries@suse.de>
131 * dwarf.c (display_debug_ranges): Filter range lists according to
134 2021-02-09 Tom de Vries <tdevries@suse.de>
137 * dwarf.c (get_type_abbrev_from_form): Handle DW_FORM_ref_sig8.
139 2021-02-09 Tom de Vries <tdevries@suse.de>
142 * dwarf.c (process_debug_info): Handling DW_UT_skeleton and
145 2021-02-09 Alan Modra <amodra@gmail.com>
147 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Remove
150 2021-02-07 Alan Modra <amodra@gmail.com>
152 * unwind-ia64.c (unw_print_xyreg): Don't leave output buffer
153 uninitialised on invalid input.
155 2021-02-06 Alan Modra <amodra@gmail.com>
158 * rename.c (smart_rename): Test for existence and type of output
161 2021-02-05 Nick Clifton <nickc@redhat.com>
163 * MAINTAINERS: Remove Richard Henderson as the ALPHA maintainer.
165 2021-02-05 Eli Zaretskii <eliz@gnu.org>
168 * elfedit.c (check_file):
169 * bucomm.c (get_file_size): Fix typos in comments.
171 2021-02-05 Alan Modra <amodra@gmail.com>
174 * arsup.c (ar_save): Use stat rather than lstat.
176 2021-02-03 Alan Modra <amodra@gmail.com>
181 * ar.c: Don't include libbfd.h.
182 (write_archive): Replace xmalloc+strcpy with xstrdup. Use
183 bfd_stat rather than fstat on iostream. Move stat and fd tests
184 outside of _WIN32 ifdef. Delete skip_stat variable.
185 * arsup.c (temp_name, real_ofd): New static variables.
186 (ar_open): Use make_tempname and bfd_fdopenw.
187 (ar_save): Adjust to suit ar_open changes. Move stat output
189 * objcopy.c: Don't include libbfd.h.
190 (copy_file): Use bfd_stat.
192 2021-02-02 H.J. Lu <hongjiu.lu@intel.com>
195 * readelf.c (process_section_headers): Add 'R' and 'D' to
197 * testsuite/binutils-all/retain1a.d: Updated.
199 2021-01-30 Nick Clifton <nickc@redhat.com>
201 * README-how-to-make-a-release: Small updates after the 2.35.2
204 2021-01-28 Eli Zaretskii <eliz@gnu.org>
207 * windres.c (quot): Use double quotes to protect strings on
210 2021-01-28 Eli Zaretskii <eliz@gnu.org>
213 * bucomm.c (get_file_size): Add code to handle /dev/null on
215 * elfedit.c (check_file): Likewise.
217 2021-01-27 Nick Clifton <nickc@redhat.com>
219 * objcopy.c (copy_main): Remove conditional control of the calls
220 to free, simplifying the code and making it easier to detect
223 2021-01-26 Frederic Cambus <fred@statdns.com>
225 * objcopy.c (copy_main): Fix a double free happening when both
226 --localize-symbols and --globalize-symbols options are invoked
229 2021-01-24 Nick Clifton <nickc@redhat.com>
231 * README-how-to-make-a-release: Minor updates after the 2.36 release.
233 2021-01-16 Alan Modra <amodra@gmail.com>
235 * readelf.c (uncompress_section_contents): Tidy inflateEnd result test.
237 2021-01-15 Alan Modra <amodra@gmail.com>
240 * readelf.c (uncompress_section_contents): Always call inflateEnd.
242 2021-01-14 Alexandre Oliva <oliva@gnu.org>
244 * MAINTAINERS: Update my email address.
246 2021-01-14 Nick Clifton <nickc@redhat.com>
248 * po/sv.po: Updated Swedish translation.
250 2021-01-13 Alan Modra <amodra@gmail.com>
252 * Makefile.in: Regenerate.
253 * doc/Makefile.in: Regenerate.
255 2021-01-13 Zebediah Figura <z.figura12@gmail.com>
258 * dlltool.c (i386_trampoline): Adjust %rsp immediately on entry
260 (i386_x64_trampoline): Add SEH annotations.
261 (struct mac): Add how_seh field.
262 (make_delay_head): If how_set field is true add SEh instructions.
264 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
267 * configure.ac: Use GNU_MAKE_JOBSERVER.
268 * aclocal.m4: Regenerated.
269 * configure: Likewise.
271 2021-01-12 Nick Clifton <nickc@redhat.com>
273 * po/fr.po: Updated French translation.
275 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
278 * configure: Regenerated.
280 2021-01-11 Nick Clifton <nickc@redhat.com>
282 * po/pt.po: Updated Portuguese translation.
283 * po/sr.po: Updated Serbian translation.
284 * po/uk.po: Updated Ukranian translation.
286 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
288 * configure: Regenerated.
290 2021-01-09 Nick Clifton <nickc@redhat.com>
292 * configure: Regenerate.
293 * po/binutils.pot: Regenerate.
295 2021-01-09 Nick Clifton <nickc@redhat.com>
297 * 2.36 release branch crated.
298 * README-how-to-make-a-release: Add note about updating Makefiles
300 * BRANCHES: Add binutils-2.36-branch.
302 2021-01-09 Alan Modra <amodra@gmail.com>
304 * configure: Regenerate.
306 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
308 * configure: Regenerate.
310 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
313 * objcopy.c (copy_object): Handle section symbols for
314 non-relocatable inputs.
315 * testsuite/binutils-all/readelf.exp (readelf_test): Check
316 is_elf_unused_section_symbols.
317 * testsuite/binutils-all/readelf.s-64: Updated.
318 * testsuite/binutils-all/readelf.ss: Likewise.
319 * testsuite/binutils-all/readelf.ss-64: Likewise.
320 * testsuite/binutils-all/readelf.s-64-unused: New file.
321 * testsuite/binutils-all/readelf.ss-64-unused: Likewise.
322 * testsuite/binutils-all/readelf.ss-unused: Likewise.
323 * testsuite/lib/binutils-common.exp
324 (is_elf_unused_section_symbols): New proc.
326 2021-01-06 Reuben Thomas <rrt@sc3d.org>
328 * binutils/readelf.c: Correct grammar in comment.
330 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
332 * coffgrok.c (do_type): Correct spelling of auxiliary in errors.
333 * doc/binutils.texi: Correct grammar.
334 * readelf.c (process_version_sections): Correct spelling of auxiliary
336 * testsuite/binutils-all/vax/objdump.exp: Comment grammar fix.
338 2021-01-01 Alan Modra <amodra@gmail.com>
340 Update year range in copyright notice of all files.
342 For older changes see ChangeLog-2020
344 Copyright (C) 2021 Free Software Foundation, Inc.
346 Copying and distribution of this file, with or without modification,
347 are permitted in any medium without royalty provided the copyright
348 notice and this notice are preserved.
354 version-control: never