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