1 2021-02-20 Alan Modra <amodra@gmail.com>
3 * testsuite/lib/binutils-common.exp: Whitespace fixes throughout.
4 (run_dump_test): Fail if expecting errors from a file like we do
5 for error strings, if no error is seen.
7 2021-02-19 Alan Modra <amodra@gmail.com>
9 * testsuite/binutils-all/readelf.exp (pr26548): Run for 32-bit too.
11 2021-02-19 Siddhesh Poyarekar <siddhesh@gotplt.org>
13 * ar.c (write_archive): Remove TARGET_STAT. Adjust call to
15 * arsup.c (ar_save): Likewise.
16 * objcopy (strip_main): Don't copy TMPFD. Don't set times on
17 temporary file and adjust call to SMART_RENAME.
18 (copy_main): Likewise.
19 * rename.c [!S_ISLNK]: Remove definitions.
20 (try_preserve_permissions): Remove function.
21 (smart_rename): Remove FD, PRESERVE_DATES arguments. Use
22 rename system call only if TO does not exist.
23 * bucomm.h (smart_rename): Adjust declaration.
25 2021-02-18 Nick Clifton <nickc@redhat.com>
27 * objcopy.c (merge_gnu_build_notes): Handle notes with a start
28 address that is higher than the end address.
30 2021-02-17 Alan Modra <amodra@gmail.com>
32 * dwarf.c: Include limits.h.
33 (CHAR_BIT): Provide backup define.
34 (read_leb128): Use CHAR_BIT to size "result" in bits. Correct
35 signed overflow checking.
36 * testsuite/binutils-all/pr26548.s,
37 * testsuite/binutils-all/pr26548.d,
38 * testsuite/binutils-all/pr26548e.d: New tests.
39 * testsuite/binutils-all/readelf.exp: Run them.
40 (readelf_test): Drop unused "xfails" parameter. Update all uses.
42 2021-02-16 Jan Beulich <jbeulich@suse.com>
44 * dwarf.c (process_debug_info): Initialize "dwo_id".
46 2021-02-15 Alan Modra <amodra@gmail.com>
48 * objdump.c (load_specific_debug_section): Don't call
49 bfd_cache_section_contents. Rearrange so that
50 bfd_get_full_section_contents is not called on path where
51 bfd_simple_get_relocated_section_contents is called.
52 Don't set section->user_data.
53 (free_debug_section): Always free section->start. Don't twiddle
55 * readelf.c (load_specific_debug_section): Don't set user_data.
56 * dwarf.h (struct dwarf_section): Remove use_data field.
57 * dwarf.c (NO_ABBREVS, ABBREV): Adjust to suit.
59 2021-02-15 Alan Modra <amodra@gmail.com>
61 * testsuite/binutils-all/compress.exp: Remove nds32 xfails.
62 * testsuite/binutils-all/objdump.exp: Likewise.
64 2021-02-14 Alan Modra <amodra@gmail.com>
66 * objdump.c (slurp_symtab): Don't add an extra entry for NULL
68 (slurp_dynamic_symtab): Likewise.
69 (dump_bfd): Formatting. Copy terminating NULL from extra_syms.
71 2021-02-14 Alan Modra <amodra@gmail.com>
73 * Makefile.in: Regenerate.
74 * doc/Makefile.in: Regenerate.
76 2021-02-13 Mike Frysinger <vapier@gentoo.org>
78 * aclocal.m4: Regenerate.
80 2021-02-12 Nick Clifton <nickc@redhat.com>
82 * configure.ac (follow-debug-links): Add option to enable or
83 disable the following of debug links by default. Set the
84 default for the option to be 'follow'.
85 * dwarf.c (do_follow_links): Initialise with DEFAULT_FOR_FOLLOW_LINKS.
86 (dwarf_select_sections_by_names): Add no-follow-links option.
87 (dwarf_select_sections_by_letter): Add 'N' option.
88 * objdump.c (usage): Add conditional text describing the
90 (slurp_symtab): Ensure that there is a NULL entry at the end
92 (slurp_dynamic_symtab): Likewise.
93 (dump_bfd): When extending the symbol table, ensure that there
94 is still a NULL entry at the end.
95 * readelf.c (usage): Add conditional text describing the
97 * doc/binutils.texi: Update documentation for objcopy and
99 * doc/debug.options.texi: Update documentation of the
101 * config.in: Regenerate.
102 * configure: Regenerate.
103 * testsuite/binutils-all/compress.exp: Add the -WN option to
104 objdump command lines that are not expecting to follow links.
105 * testsuite/binutils-all/readelf.exp: Add the
106 --debug-dump=no-follow-links option to tests that are not
107 expecting to follow debug links.
108 * NEWS: Mention the new behaviour.
110 2021-02-12 Alan Modra <amodra@gmail.com>
112 * testsuite/binutils-all/objcopy.exp: Report "unsupported" when
113 gas or ld fails to build a testcase rather than "unresolved".
114 Report "fail" when readelf returns an error status rather than
116 * testsuite/binutils-all/ar.exp: Likewise.
117 * testsuite/binutils-all/compress.exp: Likewise.
118 * testsuite/binutils-all/readelf.exp: Likewise.
120 2021-02-12 Alan Modra <amodra@gmail.com>
122 * testsuite/binutils-all/pr25662.s: Replace "a" with "aaa" and
123 "c" with "ccc" labels.
125 2021-02-12 Tom de Vries <tdevries@suse.de>
127 * dwarf.h (debug_info): Fix typo in comment.
129 2021-02-12 Tom de Vries <tdevries@suse.de>
131 * dwarf.c (display_debug_str_offsets): Handle multiple sets of
134 2021-02-12 Tom de Vries <tdevries@suse.de>
136 * dwarf.c (process_debug_info): Print DWO ID.
138 2021-02-11 Alan Modra <amodra@gmail.com>
143 * od-elf32_avr.c (elf32_avr_get_note_section_contents): Formatting.
144 Use bfd_malloc_and_get_section.
145 (elf32_avr_get_note_desc): Formatting. Return descsz. Sanity
146 check namesz. Return NULL if descsz is too small. Ensure
147 string table is terminated.
148 (elf32_avr_get_device_info): Formatting. Add note_size param.
150 (elf32_avr_dump_mem_usage): Adjust to suit.
152 2021-02-10 Tom de Vries <tdevries@suse.de>
155 * dwarf.c (load_dwo_file): Handle case that name is absolute path.
157 2021-02-10 Tom de Vries <tdevries@suse.de>
160 * dwarf.c (display_debug_ranges): Filter range lists according to
163 2021-02-09 Tom de Vries <tdevries@suse.de>
166 * dwarf.c (get_type_abbrev_from_form): Handle DW_FORM_ref_sig8.
168 2021-02-09 Tom de Vries <tdevries@suse.de>
171 * dwarf.c (process_debug_info): Handling DW_UT_skeleton and
174 2021-02-09 Alan Modra <amodra@gmail.com>
176 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Remove
179 2021-02-07 Alan Modra <amodra@gmail.com>
181 * unwind-ia64.c (unw_print_xyreg): Don't leave output buffer
182 uninitialised on invalid input.
184 2021-02-06 Alan Modra <amodra@gmail.com>
187 * rename.c (smart_rename): Test for existence and type of output
190 2021-02-05 Nick Clifton <nickc@redhat.com>
192 * MAINTAINERS: Remove Richard Henderson as the ALPHA maintainer.
194 2021-02-05 Eli Zaretskii <eliz@gnu.org>
197 * elfedit.c (check_file):
198 * bucomm.c (get_file_size): Fix typos in comments.
200 2021-02-05 Alan Modra <amodra@gmail.com>
203 * arsup.c (ar_save): Use stat rather than lstat.
205 2021-02-03 Alan Modra <amodra@gmail.com>
210 * ar.c: Don't include libbfd.h.
211 (write_archive): Replace xmalloc+strcpy with xstrdup. Use
212 bfd_stat rather than fstat on iostream. Move stat and fd tests
213 outside of _WIN32 ifdef. Delete skip_stat variable.
214 * arsup.c (temp_name, real_ofd): New static variables.
215 (ar_open): Use make_tempname and bfd_fdopenw.
216 (ar_save): Adjust to suit ar_open changes. Move stat output
218 * objcopy.c: Don't include libbfd.h.
219 (copy_file): Use bfd_stat.
221 2021-02-02 H.J. Lu <hongjiu.lu@intel.com>
224 * readelf.c (process_section_headers): Add 'R' and 'D' to
226 * testsuite/binutils-all/retain1a.d: Updated.
228 2021-01-30 Nick Clifton <nickc@redhat.com>
230 * README-how-to-make-a-release: Small updates after the 2.35.2
233 2021-01-28 Eli Zaretskii <eliz@gnu.org>
236 * windres.c (quot): Use double quotes to protect strings on
239 2021-01-28 Eli Zaretskii <eliz@gnu.org>
242 * bucomm.c (get_file_size): Add code to handle /dev/null on
244 * elfedit.c (check_file): Likewise.
246 2021-01-27 Nick Clifton <nickc@redhat.com>
248 * objcopy.c (copy_main): Remove conditional control of the calls
249 to free, simplifying the code and making it easier to detect
252 2021-01-26 Frederic Cambus <fred@statdns.com>
254 * objcopy.c (copy_main): Fix a double free happening when both
255 --localize-symbols and --globalize-symbols options are invoked
258 2021-01-24 Nick Clifton <nickc@redhat.com>
260 * README-how-to-make-a-release: Minor updates after the 2.36 release.
262 2021-01-16 Alan Modra <amodra@gmail.com>
264 * readelf.c (uncompress_section_contents): Tidy inflateEnd result test.
266 2021-01-15 Alan Modra <amodra@gmail.com>
269 * readelf.c (uncompress_section_contents): Always call inflateEnd.
271 2021-01-14 Alexandre Oliva <oliva@gnu.org>
273 * MAINTAINERS: Update my email address.
275 2021-01-14 Nick Clifton <nickc@redhat.com>
277 * po/sv.po: Updated Swedish translation.
279 2021-01-13 Alan Modra <amodra@gmail.com>
281 * Makefile.in: Regenerate.
282 * doc/Makefile.in: Regenerate.
284 2021-01-13 Zebediah Figura <z.figura12@gmail.com>
287 * dlltool.c (i386_trampoline): Adjust %rsp immediately on entry
289 (i386_x64_trampoline): Add SEH annotations.
290 (struct mac): Add how_seh field.
291 (make_delay_head): If how_set field is true add SEh instructions.
293 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
296 * configure.ac: Use GNU_MAKE_JOBSERVER.
297 * aclocal.m4: Regenerated.
298 * configure: Likewise.
300 2021-01-12 Nick Clifton <nickc@redhat.com>
302 * po/fr.po: Updated French translation.
304 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
307 * configure: Regenerated.
309 2021-01-11 Nick Clifton <nickc@redhat.com>
311 * po/pt.po: Updated Portuguese translation.
312 * po/sr.po: Updated Serbian translation.
313 * po/uk.po: Updated Ukranian translation.
315 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
317 * configure: Regenerated.
319 2021-01-09 Nick Clifton <nickc@redhat.com>
321 * configure: Regenerate.
322 * po/binutils.pot: Regenerate.
324 2021-01-09 Nick Clifton <nickc@redhat.com>
326 * 2.36 release branch crated.
327 * README-how-to-make-a-release: Add note about updating Makefiles
329 * BRANCHES: Add binutils-2.36-branch.
331 2021-01-09 Alan Modra <amodra@gmail.com>
333 * configure: Regenerate.
335 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
337 * configure: Regenerate.
339 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
342 * objcopy.c (copy_object): Handle section symbols for
343 non-relocatable inputs.
344 * testsuite/binutils-all/readelf.exp (readelf_test): Check
345 is_elf_unused_section_symbols.
346 * testsuite/binutils-all/readelf.s-64: Updated.
347 * testsuite/binutils-all/readelf.ss: Likewise.
348 * testsuite/binutils-all/readelf.ss-64: Likewise.
349 * testsuite/binutils-all/readelf.s-64-unused: New file.
350 * testsuite/binutils-all/readelf.ss-64-unused: Likewise.
351 * testsuite/binutils-all/readelf.ss-unused: Likewise.
352 * testsuite/lib/binutils-common.exp
353 (is_elf_unused_section_symbols): New proc.
355 2021-01-06 Reuben Thomas <rrt@sc3d.org>
357 * binutils/readelf.c: Correct grammar in comment.
359 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
361 * coffgrok.c (do_type): Correct spelling of auxiliary in errors.
362 * doc/binutils.texi: Correct grammar.
363 * readelf.c (process_version_sections): Correct spelling of auxiliary
365 * testsuite/binutils-all/vax/objdump.exp: Comment grammar fix.
367 2021-01-01 Alan Modra <amodra@gmail.com>
369 Update year range in copyright notice of all files.
371 For older changes see ChangeLog-2020
373 Copyright (C) 2021 Free Software Foundation, Inc.
375 Copying and distribution of this file, with or without modification,
376 are permitted in any medium without royalty provided the copyright
377 notice and this notice are preserved.
383 version-control: never