1 2021-02-19 Alan Modra <amodra@gmail.com>
3 * testsuite/binutils-all/readelf.exp (pr26548): Run for 32-bit too.
5 2021-02-19 Siddhesh Poyarekar <siddhesh@gotplt.org>
7 * ar.c (write_archive): Remove TARGET_STAT. Adjust call to
9 * arsup.c (ar_save): Likewise.
10 * objcopy (strip_main): Don't copy TMPFD. Don't set times on
11 temporary file and adjust call to SMART_RENAME.
12 (copy_main): Likewise.
13 * rename.c [!S_ISLNK]: Remove definitions.
14 (try_preserve_permissions): Remove function.
15 (smart_rename): Remove FD, PRESERVE_DATES arguments. Use
16 rename system call only if TO does not exist.
17 * bucomm.h (smart_rename): Adjust declaration.
19 2021-02-18 Nick Clifton <nickc@redhat.com>
21 * objcopy.c (merge_gnu_build_notes): Handle notes with a start
22 address that is higher than the end address.
24 2021-02-17 Alan Modra <amodra@gmail.com>
26 * dwarf.c: Include limits.h.
27 (CHAR_BIT): Provide backup define.
28 (read_leb128): Use CHAR_BIT to size "result" in bits. Correct
29 signed overflow checking.
30 * testsuite/binutils-all/pr26548.s,
31 * testsuite/binutils-all/pr26548.d,
32 * testsuite/binutils-all/pr26548e.d: New tests.
33 * testsuite/binutils-all/readelf.exp: Run them.
34 (readelf_test): Drop unused "xfails" parameter. Update all uses.
36 2021-02-16 Jan Beulich <jbeulich@suse.com>
38 * dwarf.c (process_debug_info): Initialize "dwo_id".
40 2021-02-15 Alan Modra <amodra@gmail.com>
42 * objdump.c (load_specific_debug_section): Don't call
43 bfd_cache_section_contents. Rearrange so that
44 bfd_get_full_section_contents is not called on path where
45 bfd_simple_get_relocated_section_contents is called.
46 Don't set section->user_data.
47 (free_debug_section): Always free section->start. Don't twiddle
49 * readelf.c (load_specific_debug_section): Don't set user_data.
50 * dwarf.h (struct dwarf_section): Remove use_data field.
51 * dwarf.c (NO_ABBREVS, ABBREV): Adjust to suit.
53 2021-02-15 Alan Modra <amodra@gmail.com>
55 * testsuite/binutils-all/compress.exp: Remove nds32 xfails.
56 * testsuite/binutils-all/objdump.exp: Likewise.
58 2021-02-14 Alan Modra <amodra@gmail.com>
60 * objdump.c (slurp_symtab): Don't add an extra entry for NULL
62 (slurp_dynamic_symtab): Likewise.
63 (dump_bfd): Formatting. Copy terminating NULL from extra_syms.
65 2021-02-14 Alan Modra <amodra@gmail.com>
67 * Makefile.in: Regenerate.
68 * doc/Makefile.in: Regenerate.
70 2021-02-13 Mike Frysinger <vapier@gentoo.org>
72 * aclocal.m4: Regenerate.
74 2021-02-12 Nick Clifton <nickc@redhat.com>
76 * configure.ac (follow-debug-links): Add option to enable or
77 disable the following of debug links by default. Set the
78 default for the option to be 'follow'.
79 * dwarf.c (do_follow_links): Initialise with DEFAULT_FOR_FOLLOW_LINKS.
80 (dwarf_select_sections_by_names): Add no-follow-links option.
81 (dwarf_select_sections_by_letter): Add 'N' option.
82 * objdump.c (usage): Add conditional text describing the
84 (slurp_symtab): Ensure that there is a NULL entry at the end
86 (slurp_dynamic_symtab): Likewise.
87 (dump_bfd): When extending the symbol table, ensure that there
88 is still a NULL entry at the end.
89 * readelf.c (usage): Add conditional text describing the
91 * doc/binutils.texi: Update documentation for objcopy and
93 * doc/debug.options.texi: Update documentation of the
95 * config.in: Regenerate.
96 * configure: Regenerate.
97 * testsuite/binutils-all/compress.exp: Add the -WN option to
98 objdump command lines that are not expecting to follow links.
99 * testsuite/binutils-all/readelf.exp: Add the
100 --debug-dump=no-follow-links option to tests that are not
101 expecting to follow debug links.
102 * NEWS: Mention the new behaviour.
104 2021-02-12 Alan Modra <amodra@gmail.com>
106 * testsuite/binutils-all/objcopy.exp: Report "unsupported" when
107 gas or ld fails to build a testcase rather than "unresolved".
108 Report "fail" when readelf returns an error status rather than
110 * testsuite/binutils-all/ar.exp: Likewise.
111 * testsuite/binutils-all/compress.exp: Likewise.
112 * testsuite/binutils-all/readelf.exp: Likewise.
114 2021-02-12 Alan Modra <amodra@gmail.com>
116 * testsuite/binutils-all/pr25662.s: Replace "a" with "aaa" and
117 "c" with "ccc" labels.
119 2021-02-12 Tom de Vries <tdevries@suse.de>
121 * dwarf.h (debug_info): Fix typo in comment.
123 2021-02-12 Tom de Vries <tdevries@suse.de>
125 * dwarf.c (display_debug_str_offsets): Handle multiple sets of
128 2021-02-12 Tom de Vries <tdevries@suse.de>
130 * dwarf.c (process_debug_info): Print DWO ID.
132 2021-02-11 Alan Modra <amodra@gmail.com>
137 * od-elf32_avr.c (elf32_avr_get_note_section_contents): Formatting.
138 Use bfd_malloc_and_get_section.
139 (elf32_avr_get_note_desc): Formatting. Return descsz. Sanity
140 check namesz. Return NULL if descsz is too small. Ensure
141 string table is terminated.
142 (elf32_avr_get_device_info): Formatting. Add note_size param.
144 (elf32_avr_dump_mem_usage): Adjust to suit.
146 2021-02-10 Tom de Vries <tdevries@suse.de>
149 * dwarf.c (load_dwo_file): Handle case that name is absolute path.
151 2021-02-10 Tom de Vries <tdevries@suse.de>
154 * dwarf.c (display_debug_ranges): Filter range lists according to
157 2021-02-09 Tom de Vries <tdevries@suse.de>
160 * dwarf.c (get_type_abbrev_from_form): Handle DW_FORM_ref_sig8.
162 2021-02-09 Tom de Vries <tdevries@suse.de>
165 * dwarf.c (process_debug_info): Handling DW_UT_skeleton and
168 2021-02-09 Alan Modra <amodra@gmail.com>
170 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Remove
173 2021-02-07 Alan Modra <amodra@gmail.com>
175 * unwind-ia64.c (unw_print_xyreg): Don't leave output buffer
176 uninitialised on invalid input.
178 2021-02-06 Alan Modra <amodra@gmail.com>
181 * rename.c (smart_rename): Test for existence and type of output
184 2021-02-05 Nick Clifton <nickc@redhat.com>
186 * MAINTAINERS: Remove Richard Henderson as the ALPHA maintainer.
188 2021-02-05 Eli Zaretskii <eliz@gnu.org>
191 * elfedit.c (check_file):
192 * bucomm.c (get_file_size): Fix typos in comments.
194 2021-02-05 Alan Modra <amodra@gmail.com>
197 * arsup.c (ar_save): Use stat rather than lstat.
199 2021-02-03 Alan Modra <amodra@gmail.com>
204 * ar.c: Don't include libbfd.h.
205 (write_archive): Replace xmalloc+strcpy with xstrdup. Use
206 bfd_stat rather than fstat on iostream. Move stat and fd tests
207 outside of _WIN32 ifdef. Delete skip_stat variable.
208 * arsup.c (temp_name, real_ofd): New static variables.
209 (ar_open): Use make_tempname and bfd_fdopenw.
210 (ar_save): Adjust to suit ar_open changes. Move stat output
212 * objcopy.c: Don't include libbfd.h.
213 (copy_file): Use bfd_stat.
215 2021-02-02 H.J. Lu <hongjiu.lu@intel.com>
218 * readelf.c (process_section_headers): Add 'R' and 'D' to
220 * testsuite/binutils-all/retain1a.d: Updated.
222 2021-01-30 Nick Clifton <nickc@redhat.com>
224 * README-how-to-make-a-release: Small updates after the 2.35.2
227 2021-01-28 Eli Zaretskii <eliz@gnu.org>
230 * windres.c (quot): Use double quotes to protect strings on
233 2021-01-28 Eli Zaretskii <eliz@gnu.org>
236 * bucomm.c (get_file_size): Add code to handle /dev/null on
238 * elfedit.c (check_file): Likewise.
240 2021-01-27 Nick Clifton <nickc@redhat.com>
242 * objcopy.c (copy_main): Remove conditional control of the calls
243 to free, simplifying the code and making it easier to detect
246 2021-01-26 Frederic Cambus <fred@statdns.com>
248 * objcopy.c (copy_main): Fix a double free happening when both
249 --localize-symbols and --globalize-symbols options are invoked
252 2021-01-24 Nick Clifton <nickc@redhat.com>
254 * README-how-to-make-a-release: Minor updates after the 2.36 release.
256 2021-01-16 Alan Modra <amodra@gmail.com>
258 * readelf.c (uncompress_section_contents): Tidy inflateEnd result test.
260 2021-01-15 Alan Modra <amodra@gmail.com>
263 * readelf.c (uncompress_section_contents): Always call inflateEnd.
265 2021-01-14 Alexandre Oliva <oliva@gnu.org>
267 * MAINTAINERS: Update my email address.
269 2021-01-14 Nick Clifton <nickc@redhat.com>
271 * po/sv.po: Updated Swedish translation.
273 2021-01-13 Alan Modra <amodra@gmail.com>
275 * Makefile.in: Regenerate.
276 * doc/Makefile.in: Regenerate.
278 2021-01-13 Zebediah Figura <z.figura12@gmail.com>
281 * dlltool.c (i386_trampoline): Adjust %rsp immediately on entry
283 (i386_x64_trampoline): Add SEH annotations.
284 (struct mac): Add how_seh field.
285 (make_delay_head): If how_set field is true add SEh instructions.
287 2021-01-12 H.J. Lu <hongjiu.lu@intel.com>
290 * configure.ac: Use GNU_MAKE_JOBSERVER.
291 * aclocal.m4: Regenerated.
292 * configure: Likewise.
294 2021-01-12 Nick Clifton <nickc@redhat.com>
296 * po/fr.po: Updated French translation.
298 2021-01-11 H.J. Lu <hongjiu.lu@intel.com>
301 * configure: Regenerated.
303 2021-01-11 Nick Clifton <nickc@redhat.com>
305 * po/pt.po: Updated Portuguese translation.
306 * po/sr.po: Updated Serbian translation.
307 * po/uk.po: Updated Ukranian translation.
309 2021-01-09 H.J. Lu <hongjiu.lu@intel.com>
311 * configure: Regenerated.
313 2021-01-09 Nick Clifton <nickc@redhat.com>
315 * configure: Regenerate.
316 * po/binutils.pot: Regenerate.
318 2021-01-09 Nick Clifton <nickc@redhat.com>
320 * 2.36 release branch crated.
321 * README-how-to-make-a-release: Add note about updating Makefiles
323 * BRANCHES: Add binutils-2.36-branch.
325 2021-01-09 Alan Modra <amodra@gmail.com>
327 * configure: Regenerate.
329 2021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
331 * configure: Regenerate.
333 2021-01-07 H.J. Lu <hongjiu.lu@intel.com>
336 * objcopy.c (copy_object): Handle section symbols for
337 non-relocatable inputs.
338 * testsuite/binutils-all/readelf.exp (readelf_test): Check
339 is_elf_unused_section_symbols.
340 * testsuite/binutils-all/readelf.s-64: Updated.
341 * testsuite/binutils-all/readelf.ss: Likewise.
342 * testsuite/binutils-all/readelf.ss-64: Likewise.
343 * testsuite/binutils-all/readelf.s-64-unused: New file.
344 * testsuite/binutils-all/readelf.ss-64-unused: Likewise.
345 * testsuite/binutils-all/readelf.ss-unused: Likewise.
346 * testsuite/lib/binutils-common.exp
347 (is_elf_unused_section_symbols): New proc.
349 2021-01-06 Reuben Thomas <rrt@sc3d.org>
351 * binutils/readelf.c: Correct grammar in comment.
353 2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
355 * coffgrok.c (do_type): Correct spelling of auxiliary in errors.
356 * doc/binutils.texi: Correct grammar.
357 * readelf.c (process_version_sections): Correct spelling of auxiliary
359 * testsuite/binutils-all/vax/objdump.exp: Comment grammar fix.
361 2021-01-01 Alan Modra <amodra@gmail.com>
363 Update year range in copyright notice of all files.
365 For older changes see ChangeLog-2020
367 Copyright (C) 2021 Free Software Foundation, Inc.
369 Copying and distribution of this file, with or without modification,
370 are permitted in any medium without royalty provided the copyright
371 notice and this notice are preserved.
377 version-control: never