]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - binutils/ChangeLog
testsuite: Remove extra \n from expected output of tsv notifications
[thirdparty/binutils-gdb.git] / binutils / ChangeLog
CommitLineData
32e4f96c
TV
12021-02-26 Tom de Vries <tdevries@suse.de>
2
3 PR 27390
4 * dwarf.c: (skip_attr_bytes): Add support for DW_FORM_str* and
5 DW_FORM_addrx*.
6 (read_and_display_attr_value): Likewise.
7
e38332c2
NC
82021-02-25 Nick Clifton <nickc@redhat.com>
9
10 * dwarf.c (get_type_abbrev_from_form): Accept but ignore sup
11 forms.
12 (read_and_display_attr_value): Handle sup forms.
13 (display_debug_sup): New function. Displays the contents of a
14 .debug_sup section.
15 (load_debug_sup_file): New function. Loads the contents of a file
16 referenced by a .debug_sup section.
17 (check_for_and_load_links): Call load_debug_sup_file.
18 (debug_displays): Add entry for .debug_sup.
19 * dwarf.h (enum dwarf_section_display_enum): Add debug_sup.
20 * readelf.c (process_section_headers): Add support for debug_sup.
21 * doc/debug.options.texi: Note that the =links option will display
22 the contents of .debug_sup sections.
23 * NEWS: Mention the new support.
24
40b02646
AM
252021-02-25 Alan Modra <amodra@gmail.com>
26
27 PR 27456
28 * rename.c (simple_copy): Mark target_stat ATTRIBUTE_UNUSED.
29
9d3fcfe0
NC
302021-02-24 Nick Clifton <nickc@redhat.com>
31
32 PR 27285
33 * od-elf32_avr.c (elf32_avr_get_memory_usage): Check for overflows
34 when adding together the section sizes.
35
c74147bb
NC
362021-02-24 Nick Clifton <nickc@redhat.com>
37
38 * objcopy.c (merge_gnu_build_notes): Remove support for v1/v2 GNU
39 build notes.
40 * readelf.c (print_gnu_build_attribute_description): Likewise.
41
c42c71a1
AM
422021-02-24 Alan Modra <amodra@gmail.com>
43 Siddhesh Poyarekar <siddhesh@gotplt.org>
44
45 PR 27456
46 * bucomm.h (smart_rename): Update prototype.
47 * rename.c (smart_rename): Add fromfd and preserve_dates params.
48 Pass fromfd and target_stat to simple_copy. Call set_times
49 when preserve_dates.
50 (simple_copy): Accept fromfd rather than from filename. Add
51 target_stat param. Rewind fromfd rather than opening. Open
52 "to" file without O_CREAT. Try to preserve S_ISUID and S_ISGID.
53 * ar.c (write_archive): Rename ofd to tmpfd. Dup tmpfd before
54 closing output temp file, and pass tmpfd to smart_rename.
55 * arsup.c (temp_fd): Rename from real_fd.
56 (ar_save): Dup temp_fd and pass to smart_rename.
57 * objcopy.c (strip_main, copy_main): Likewise, and pass
58 preserve_dates.
59
cca8873d
AM
602021-02-24 Alan Modra <amodra@gmail.com>
61
62 PR 27456
63 * rename.c: Tidy throughout.
64 (smart_rename): Always copy. Remove windows specific code.
65
4d496013
AM
662021-02-20 Alan Modra <amodra@gmail.com>
67
68 * testsuite/lib/binutils-common.exp: Whitespace fixes throughout.
69 (run_dump_test): Fail if expecting errors from a file like we do
70 for error strings, if no error is seen.
71
0be51eb4
AM
722021-02-19 Alan Modra <amodra@gmail.com>
73
74 * testsuite/binutils-all/readelf.exp (pr26548): Run for 32-bit too.
75
3685de75
SP
762021-02-19 Siddhesh Poyarekar <siddhesh@gotplt.org>
77
78 * ar.c (write_archive): Remove TARGET_STAT. Adjust call to
79 SMART_RENAME.
80 * arsup.c (ar_save): Likewise.
81 * objcopy (strip_main): Don't copy TMPFD. Don't set times on
82 temporary file and adjust call to SMART_RENAME.
83 (copy_main): Likewise.
84 * rename.c [!S_ISLNK]: Remove definitions.
85 (try_preserve_permissions): Remove function.
86 (smart_rename): Remove FD, PRESERVE_DATES arguments. Use
87 rename system call only if TO does not exist.
88 * bucomm.h (smart_rename): Adjust declaration.
89
85684222
NC
902021-02-18 Nick Clifton <nickc@redhat.com>
91
92 * objcopy.c (merge_gnu_build_notes): Handle notes with a start
93 address that is higher than the end address.
94
b9b204b3
AM
952021-02-17 Alan Modra <amodra@gmail.com>
96
97 * dwarf.c: Include limits.h.
98 (CHAR_BIT): Provide backup define.
99 (read_leb128): Use CHAR_BIT to size "result" in bits. Correct
100 signed overflow checking.
101 * testsuite/binutils-all/pr26548.s,
102 * testsuite/binutils-all/pr26548.d,
103 * testsuite/binutils-all/pr26548e.d: New tests.
104 * testsuite/binutils-all/readelf.exp: Run them.
105 (readelf_test): Drop unused "xfails" parameter. Update all uses.
106
e6ca1878
JB
1072021-02-16 Jan Beulich <jbeulich@suse.com>
108
109 * dwarf.c (process_debug_info): Initialize "dwo_id".
110
208599d9
AM
1112021-02-15 Alan Modra <amodra@gmail.com>
112
113 * objdump.c (load_specific_debug_section): Don't call
114 bfd_cache_section_contents. Rearrange so that
115 bfd_get_full_section_contents is not called on path where
116 bfd_simple_get_relocated_section_contents is called.
117 Don't set section->user_data.
118 (free_debug_section): Always free section->start. Don't twiddle
119 section flags.
120 * readelf.c (load_specific_debug_section): Don't set user_data.
121 * dwarf.h (struct dwarf_section): Remove use_data field.
122 * dwarf.c (NO_ABBREVS, ABBREV): Adjust to suit.
123
1781a9d0
AM
1242021-02-15 Alan Modra <amodra@gmail.com>
125
126 * testsuite/binutils-all/compress.exp: Remove nds32 xfails.
127 * testsuite/binutils-all/objdump.exp: Likewise.
128
1944212b
AM
1292021-02-14 Alan Modra <amodra@gmail.com>
130
131 * objdump.c (slurp_symtab): Don't add an extra entry for NULL
132 to the symbol array.
133 (slurp_dynamic_symtab): Likewise.
134 (dump_bfd): Formatting. Copy terminating NULL from extra_syms.
135
0d0a0d86
AM
1362021-02-14 Alan Modra <amodra@gmail.com>
137
138 * Makefile.in: Regenerate.
139 * doc/Makefile.in: Regenerate.
140
adeab0c5
MF
1412021-02-13 Mike Frysinger <vapier@gentoo.org>
142
143 * aclocal.m4: Regenerate.
144
c46b7066
NC
1452021-02-12 Nick Clifton <nickc@redhat.com>
146
147 * configure.ac (follow-debug-links): Add option to enable or
148 disable the following of debug links by default. Set the
149 default for the option to be 'follow'.
150 * dwarf.c (do_follow_links): Initialise with DEFAULT_FOR_FOLLOW_LINKS.
151 (dwarf_select_sections_by_names): Add no-follow-links option.
152 (dwarf_select_sections_by_letter): Add 'N' option.
153 * objdump.c (usage): Add conditional text describing the
154 follow links option.
155 (slurp_symtab): Ensure that there is a NULL entry at the end
156 of the symbol table.
157 (slurp_dynamic_symtab): Likewise.
158 (dump_bfd): When extending the symbol table, ensure that there
159 is still a NULL entry at the end.
160 * readelf.c (usage): Add conditional text describing the
161 follow links option.
162 * doc/binutils.texi: Update documentation for objcopy and
163 readelf.
164 * doc/debug.options.texi: Update documentation of the
165 follow-links option.
166 * config.in: Regenerate.
167 * configure: Regenerate.
168 * testsuite/binutils-all/compress.exp: Add the -WN option to
169 objdump command lines that are not expecting to follow links.
170 * testsuite/binutils-all/readelf.exp: Add the
171 --debug-dump=no-follow-links option to tests that are not
172 expecting to follow debug links.
173 * NEWS: Mention the new behaviour.
174
17e04eff
AM
1752021-02-12 Alan Modra <amodra@gmail.com>
176
177 * testsuite/binutils-all/objcopy.exp: Report "unsupported" when
178 gas or ld fails to build a testcase rather than "unresolved".
179 Report "fail" when readelf returns an error status rather than
180 "unresolved".
181 * testsuite/binutils-all/ar.exp: Likewise.
182 * testsuite/binutils-all/compress.exp: Likewise.
183 * testsuite/binutils-all/readelf.exp: Likewise.
184
8f054a7a
AM
1852021-02-12 Alan Modra <amodra@gmail.com>
186
187 * testsuite/binutils-all/pr25662.s: Replace "a" with "aaa" and
188 "c" with "ccc" labels.
189
528a4f87
TV
1902021-02-12 Tom de Vries <tdevries@suse.de>
191
192 * dwarf.h (debug_info): Fix typo in comment.
193
95abb394
TV
1942021-02-12 Tom de Vries <tdevries@suse.de>
195
196 * dwarf.c (display_debug_str_offsets): Handle multiple sets of
197 entries.
198
d60f7998
TV
1992021-02-12 Tom de Vries <tdevries@suse.de>
200
201 * dwarf.c (process_debug_info): Print DWO ID.
202
1cfcf300
AM
2032021-02-11 Alan Modra <amodra@gmail.com>
204
205 PR 27290
206 PR 27293
207 PR 27295
208 * od-elf32_avr.c (elf32_avr_get_note_section_contents): Formatting.
209 Use bfd_malloc_and_get_section.
210 (elf32_avr_get_note_desc): Formatting. Return descsz. Sanity
211 check namesz. Return NULL if descsz is too small. Ensure
212 string table is terminated.
213 (elf32_avr_get_device_info): Formatting. Add note_size param.
214 Sanity check note.
215 (elf32_avr_dump_mem_usage): Adjust to suit.
216
d9d9d8ef
TV
2172021-02-10 Tom de Vries <tdevries@suse.de>
218
219 PR binutils/27391
220 * dwarf.c (load_dwo_file): Handle case that name is absolute path.
221
52ff20fe
TV
2222021-02-10 Tom de Vries <tdevries@suse.de>
223
224 PR binutils/27371
225 * dwarf.c (display_debug_ranges): Filter range lists according to
226 section.
227
5f128a25
TV
2282021-02-09 Tom de Vries <tdevries@suse.de>
229
230 PR binutils/27370
231 * dwarf.c (get_type_abbrev_from_form): Handle DW_FORM_ref_sig8.
232
9b87f84a
TV
2332021-02-09 Tom de Vries <tdevries@suse.de>
234
235 PR binutils/27386
236 * dwarf.c (process_debug_info): Handling DW_UT_skeleton and
237 DW_UT_split_compile.
238
a57d1773
AM
2392021-02-09 Alan Modra <amodra@gmail.com>
240
241 * testsuite/lib/binutils-common.exp (supports_gnu_osabi): Remove
242 symbianelf.
243
de8d4203
AM
2442021-02-07 Alan Modra <amodra@gmail.com>
245
246 * unwind-ia64.c (unw_print_xyreg): Don't leave output buffer
247 uninitialised on invalid input.
248
51a25252
AM
2492021-02-06 Alan Modra <amodra@gmail.com>
250
251 PR 27349
252 * rename.c (smart_rename): Test for existence and type of output
253 file with lstat.
254
e37d88e5
NC
2552021-02-05 Nick Clifton <nickc@redhat.com>
256
257 * MAINTAINERS: Remove Richard Henderson as the ALPHA maintainer.
258
887854ba
EZ
2592021-02-05 Eli Zaretskii <eliz@gnu.org>
260
261 PR 27252
262 * elfedit.c (check_file):
263 * bucomm.c (get_file_size): Fix typos in comments.
264
c180f095
AM
2652021-02-05 Alan Modra <amodra@gmail.com>
266
267 PR 27345
268 * arsup.c (ar_save): Use stat rather than lstat.
269
95b91a04
AM
2702021-02-03 Alan Modra <amodra@gmail.com>
271
272 PR 27270
273 PR 27284
274 PR 26945
275 * ar.c: Don't include libbfd.h.
276 (write_archive): Replace xmalloc+strcpy with xstrdup. Use
277 bfd_stat rather than fstat on iostream. Move stat and fd tests
278 outside of _WIN32 ifdef. Delete skip_stat variable.
279 * arsup.c (temp_name, real_ofd): New static variables.
280 (ar_open): Use make_tempname and bfd_fdopenw.
281 (ar_save): Adjust to suit ar_open changes. Move stat output
282 of _WIN32 ifdef.
283 * objcopy.c: Don't include libbfd.h.
284 (copy_file): Use bfd_stat.
285
5424d7ed
L
2862021-02-02 H.J. Lu <hongjiu.lu@intel.com>
287
288 PR binutils/27281
289 * readelf.c (process_section_headers): Add 'R' and 'D' to
290 "Key to Flags:".
291 * testsuite/binutils-all/retain1a.d: Updated.
292
72a51a06
NC
2932021-01-30 Nick Clifton <nickc@redhat.com>
294
295 * README-how-to-make-a-release: Small updates after the 2.35.2
296 release.
297
cc3edc52
EZ
2982021-01-28 Eli Zaretskii <eliz@gnu.org>
299
300 PR 4356
301 * windres.c (quot): Use double quotes to protect strings on
302 Windows platforms.
303
a7ad3cb1
EZ
3042021-01-28 Eli Zaretskii <eliz@gnu.org>
305
306 PR 27252
307 * bucomm.c (get_file_size): Add code to handle /dev/null on
308 Windows systems.
309 * elfedit.c (check_file): Likewise.
310
67965ba2
NC
3112021-01-27 Nick Clifton <nickc@redhat.com>
312
313 * objcopy.c (copy_main): Remove conditional control of the calls
314 to free, simplifying the code and making it easier to detect
315 typos.
316
e37709f0
FC
3172021-01-26 Frederic Cambus <fred@statdns.com>
318
319 * objcopy.c (copy_main): Fix a double free happening when both
320 --localize-symbols and --globalize-symbols options are invoked
321 together.
322
9b351c9b
NC
3232021-01-24 Nick Clifton <nickc@redhat.com>
324
325 * README-how-to-make-a-release: Minor updates after the 2.36 release.
326
ad92f33d
AM
3272021-01-16 Alan Modra <amodra@gmail.com>
328
329 * readelf.c (uncompress_section_contents): Tidy inflateEnd result test.
330
3624a6c1
AM
3312021-01-15 Alan Modra <amodra@gmail.com>
332
333 PR 26539
334 * readelf.c (uncompress_section_contents): Always call inflateEnd.
335
c14dee84
AO
3362021-01-14 Alexandre Oliva <oliva@gnu.org>
337
338 * MAINTAINERS: Update my email address.
339
5a10699f
NC
3402021-01-14 Nick Clifton <nickc@redhat.com>
341
342 * po/sv.po: Updated Swedish translation.
343
5347ed60
AM
3442021-01-13 Alan Modra <amodra@gmail.com>
345
346 * Makefile.in: Regenerate.
347 * doc/Makefile.in: Regenerate.
348
2ce40d1a
ZF
3492021-01-13 Zebediah Figura <z.figura12@gmail.com>
350
351 PR 27037
352 * dlltool.c (i386_trampoline): Adjust %rsp immediately on entry
353 and before exit.
354 (i386_x64_trampoline): Add SEH annotations.
355 (struct mac): Add how_seh field.
356 (make_delay_head): If how_set field is true add SEh instructions.
357
d546b610
L
3582021-01-12 H.J. Lu <hongjiu.lu@intel.com>
359
360 PR binutils/26792
361 * configure.ac: Use GNU_MAKE_JOBSERVER.
362 * aclocal.m4: Regenerated.
363 * configure: Likewise.
364
6d104cac
NC
3652021-01-12 Nick Clifton <nickc@redhat.com>
366
367 * po/fr.po: Updated French translation.
368
83b33c6c
L
3692021-01-11 H.J. Lu <hongjiu.lu@intel.com>
370
371 PR ld/27173
372 * configure: Regenerated.
373
a8aa72b9
NC
3742021-01-11 Nick Clifton <nickc@redhat.com>
375
376 * po/pt.po: Updated Portuguese translation.
377 * po/sr.po: Updated Serbian translation.
378 * po/uk.po: Updated Ukranian translation.
379
a4966cd9
L
3802021-01-09 H.J. Lu <hongjiu.lu@intel.com>
381
382 * configure: Regenerated.
383
573fe3fb
NC
3842021-01-09 Nick Clifton <nickc@redhat.com>
385
386 * configure: Regenerate.
387 * po/binutils.pot: Regenerate.
388
055bc77a
NC
3892021-01-09 Nick Clifton <nickc@redhat.com>
390
391 * 2.36 release branch crated.
573fe3fb
NC
392 * README-how-to-make-a-release: Add note about updating Makefiles
393 and libtool files.
394 * BRANCHES: Add binutils-2.36-branch.
055bc77a 395
64307045
AM
3962021-01-09 Alan Modra <amodra@gmail.com>
397
398 * configure: Regenerate.
399
f4782128
ST
4002021-01-07 Samuel Thibault <samuel.thibault@gnu.org>
401
402 * configure: Regenerate.
403
d1bcae83
L
4042021-01-07 H.J. Lu <hongjiu.lu@intel.com>
405
406 PR 27109
407 * objcopy.c (copy_object): Handle section symbols for
408 non-relocatable inputs.
409 * testsuite/binutils-all/readelf.exp (readelf_test): Check
410 is_elf_unused_section_symbols.
411 * testsuite/binutils-all/readelf.s-64: Updated.
412 * testsuite/binutils-all/readelf.ss: Likewise.
413 * testsuite/binutils-all/readelf.ss-64: Likewise.
414 * testsuite/binutils-all/readelf.s-64-unused: New file.
415 * testsuite/binutils-all/readelf.ss-64-unused: Likewise.
416 * testsuite/binutils-all/readelf.ss-unused: Likewise.
417 * testsuite/lib/binutils-common.exp
418 (is_elf_unused_section_symbols): New proc.
419
6987d5a1
RT
4202021-01-06 Reuben Thomas <rrt@sc3d.org>
421
422 * binutils/readelf.c: Correct grammar in comment.
423
f9a6a8f0
AM
4242021-01-01 Nicolas Boulenguez <nicolas@debian.org>
425
426 * coffgrok.c (do_type): Correct spelling of auxiliary in errors.
427 * doc/binutils.texi: Correct grammar.
428 * readelf.c (process_version_sections): Correct spelling of auxiliary
429 in warning.
430 * testsuite/binutils-all/vax/objdump.exp: Comment grammar fix.
431
250d07de
AM
4322021-01-01 Alan Modra <amodra@gmail.com>
433
434 Update year range in copyright notice of all files.
435
c2795844 436For older changes see ChangeLog-2020
3499769a 437\f
c2795844 438Copyright (C) 2021 Free Software Foundation, Inc.
3499769a
AM
439
440Copying and distribution of this file, with or without modification,
441are permitted in any medium without royalty provided the copyright
442notice and this notice are preserved.
443
444Local Variables:
445mode: change-log
446left-margin: 8
447fill-column: 74
448version-control: never
449End: