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