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